Re: finding the cause of a hung apache with 500+ child processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 08 September 2008, 13:13 Eric Covener wrote:
> On Mon, Sep 8, 2008 at 7:00 AM, Markus Mayer <mymaillists@xxxxxx> wrote:
> > Does anyone have any suggestions as to how I can pinpoint this problem? 
> > Is there any way I can log requests before they are fully served by
> > apache, as this might help the next time this shows up.
>
> Run pstack against all the child processes you find when you have a
> hang, if you're curious about what they're doing.

This seems to work well, thank you.  Through my experimenting, I also found 
the solaris command pfiles.  This is much slower, but lists all files that a 
process has open at the time of calling.  For an apache server with 500+ 
child processes, it will unfortunately need more than an hour to go through, 
however I think after 40 or 50, I should be able to get a good idea of what's 
making it hang.

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux