httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McDougall, Marshall (FSH)" <Marshall.McDoug...@gov.mb.ca>
Subject RE: [users@httpd] Investigating Apache processes
Date Thu, 13 Sep 2007 20:22:00 GMT
>-----Original Message-----
>From: Samuel Vogel [mailto:samy-delux@gmx.de] 
>Sent: Thursday, September 13, 2007 3:08 PM
>To: users@httpd.apache.org
>Subject: [users@httpd] Investigating Apache processes
>
>Hey,
>
>Right now on one of my Servers, Apache is taking up most of my 
>CPU time, 
>and has spawned 6 to 8 processes, that all us between 20 % and 30 % of 
>my CPU.
>My guess is, that a PHP Skript is causing this!
>How could I investigate further to find out what file/skript 
>an certain 
>apache process is processing right now?
>
>Regards,
>Samy
>
If you are running Linux just do:

"ps -ef|grep httpd" to get the pid and then 
"lsof -p PID_FROM_ABOVE"
And that should produce a list of all the files that httpd is using at
that moment.

Regards, Marshall

---------------------------------------------------------------------
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