>-----Original Message----- >From: Samuel Vogel [mailto:samy-delux@xxxxxx] >Sent: Thursday, September 13, 2007 3:08 PM >To: users@xxxxxxxxxxxxxxxx >Subject: 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx