httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bennett Haselton <benn...@peacefire.org>
Subject [users@httpd] tool to see requests that consume lots of CPU over time?
Date Tue, 29 Jan 2008 19:38:03 GMT
Is there any utility to help identify HTTP requests that are using a high 
percentage of CPU, consistently over a period of, say, 20 or 30 seconds?

"top" shows the the httpd process that are high CPU users at any given 
moment, but the trouble is that in order to identify individual processes 
that are using a lot of CPU, you have to keep track of visually of several 
process IDs that are at the top of the list, since the processes at the top 
keep shifting around.  You'd have to have a very good eye to spot all the 
PID numbers that stayed at or near the top of the list (since they keep 
changing relative positions) and filter out all the ones that disappear 
after a second or two.  Same problem if you install the server-status 
module and keep reloading /server-status/ .

Surely it must be quite common for people to want to identify the requests 
that are using a lot of CPU over time, so there must be some way to do 
this?

	-Bennett


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message