LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2016, 05:26 PM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
How to count number of connections needed for webpage to load?


Hello,

i have a webserver with higher number of websites and i seek for advice on how to discover how many HTTP / port 80 connections will be established from client to the webserver to load one average webpage.

My firewall CSF needs to know it

1) CONNLIMIT (concurrent connections limit)

I assume it will be under 100 connectios per one IP per 80 port... But i dont need to know which number i should enter, but rather how to count right number myself based on websites i host. I use Firefox browser which has Dev tool with Network tab showing elements loaded. It shows 10 requests and 9 out of them is GET when loading google.com. Does it mean google page load eats 10 http connections?

2) PORTFLOOD (connections limit per the interval)

I assume for the 60 seconds interval, human will browse maximum at speed 1 page load per 5 second. So it is 12 page loads. But how much connections one load takes. How to count it exactly for particular webpage?

Thank You
 
Old 04-12-2016, 08:16 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,458

Rep: Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932Reputation: 7932
Quote:
Originally Posted by postcd View Post
Hello,
i have a webserver with higher number of websites and i seek for advice on how to discover how many HTTP / port 80 connections will be established from client to the webserver to load one average webpage.

My firewall CSF needs to know it
1) CONNLIMIT (concurrent connections limit)

I assume it will be under 100 connectios per one IP per 80 port... But i dont need to know which number i should enter, but rather how to count right number myself based on websites i host. I use Firefox browser which has Dev tool with Network tab showing elements loaded. It shows 10 requests and 9 out of them is GET when loading google.com. Does it mean google page load eats 10 http connections?

2) PORTFLOOD (connections limit per the interval)

I assume for the 60 seconds interval, human will browse maximum at speed 1 page load per 5 second. So it is 12 page loads. But how much connections one load takes. How to count it exactly for particular webpage?
...and by putting your question into Google, the VERY FIRST HIT is:https://ask.wireshark.org/questions/...-site-page-491

As with many other of your threads, try to show effort of your own. Wireshark can easily do this. Count the SYN/ACK flags.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Count Number of Days sweeny_here Programming 12 02-24-2016 09:19 AM
LXer: How to count the number of open network connections on Linux LXer Syndicated Linux News 0 09-13-2013 11:41 AM
How connections to my wireless network go to a webpage login form? Airport/Hotel abefroman Linux - Networking 1 08-14-2009 11:04 PM
count number of used ports mnchur Linux - General 2 02-10-2009 03:11 PM
Count number of line in a file. philipina Programming 7 03-18-2004 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration