>-----Original Message-----
>From: Samuel Vogel [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 13, 2007 3:08 PM
>To: users@httpd.apache.org
>Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to