Apache Metrics
Hello,
I need to create a Control Unit for the Apache server (v1.3.41) which will minimize the response times (server side) by altering online the MaxClients and KeepAliveTimeout Directives (will alter and do a graceful restart every time they need to be altered). The problem is that i cant find a way to extract the proper metrics such as Hits/sec Requests/sec Simultaneous Connections/sec Server Response time Per Connection etc. Anyone has any idea where to look?:scratch: |
Perhaps apachetcl fullstatus, with the mod_status module installed.
man apachectl search for fullstatus http://httpd.apache.org/docs/1.3/mod/mod_status.html |
From what I can see, you are trying to benchmark your httpd ?
If so, you can use a tool called 'ab'. http://httpd.apache.org/docs/2.0/programs/ab.html Also, mod_status could be useful. |
Re:Apache Metrics
Well i considered parsing data from ./apachectl status but it only gives information about the following: requests/sec - B/second - B/request. If i run a benchmark i'll get info for a single config, the point is that i need to know how long (how loaded is the server) takes apache to serve the requests (aka Response Time), that way i'll be able to apply this as feedback to my Controller and give it a hint to adjust the MaxClients and KeepAliveTimeout Directives. All this has to be done while the server is on Production Status. Now i know there is (somewhere i cant find :( ) a module called mod_rt that is supposed to output that kind of info... but it's nowhere to be found :(
P.S. Thank you for your replies though :) |
Did you enable ExtendedStatus , and use apachectl fullstatus ?
|
Re:Apache Metrics
Quote:
Code:
ExtendedStatus On Code:
./apachectl status Code:
./apachectl fullstatus Code:
Apache Server Status for 192.168.1.11 |
Hmmm, well, you might need to refine "server responce" [sic] / Response Time. Are you looking for:
- transactions per second - time until service of connection beings (latency) - time taken to complete transaction (depends upon payload size) - average transactions / second (regardless of payload size) - average per worker thread/process? per server ? I don't know of any modules that give you what you are asking. |
Quote:
|
All times are GMT -5. The time now is 10:03 PM. |