You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bennett Haselton <be...@peacefire.org> on 2008/01/29 20:38:03 UTC

[users@httpd] tool to see requests that consume lots of CPU over time?

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