Forum Moderators: phranque

Message Too Old, No Replies

How can I get information about a specific Apache child?

Some are bringing down the server and I need to find out why...

         

Zippy1970

8:33 am on Oct 27, 2007 (gmt 0)

10+ Year Member Top Contributors Of The Month



Sometimes my webserver slows down tremendously - almost to a halt. If I do a "top" or "ps aux", I notice a few (2 or 3) apache processes taking up all CPU time. Killing these processes gets rid of the server slowdown immediately so I'm 100% sure they are causing it.

Now how can I get information what these specific apache instances are processing (like "GET /somepage.html")? Or get some more information like the IP address of the source of the request so I can check my access log files?

TIA

Little_G

10:57 am on Oct 27, 2007 (gmt 0)

10+ Year Member



Hi,

Take a look at mod_status [httpd.apache.org] with ExtendedStatus On it gives you CPU use and the request being handled by each child.

Andrew