httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McDougall, Marshall (FSH)" <>
Subject RE: [users@httpd] Investigating Apache processes
Date Thu, 13 Sep 2007 20:22:00 GMT
>-----Original Message-----
>From: Samuel Vogel [] 
>Sent: Thursday, September 13, 2007 3:08 PM
>Subject: [users@httpd] Investigating Apache processes
>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?
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message