954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

find the number of incoming requests to a apache server

How to find the number of incoming requests to a apache server and also the maximum number of requests that it can serve? Is it possible to extract this info to use it in a program??

laddu
Newbie Poster
9 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

The number of currently incomming requests can be found using netstat:
netstat -anp | grep :80

Just read the number where the destination address is your servers ip with the port 80.

To find the maximum number of requests apache can handle just look in the httpd.conf file for the MaxClients directive. There should be some other information regarding child processes and how many clients per process each can hold.

blud
Linux Reject
Staff Writer
830 posts since Apr 2004
Reputation Points: 154
Solved Threads: 20
 

Thank you for the help, I got the incoming reuests. Is there a way to find the incoming request queue?

laddu
Newbie Poster
9 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: