File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache Hanging in Linux 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Hanging in Linux 3.0" Watch "Apache Hanging in Linux 3.0" New topic

Apache Hanging in Linux 3.0

Deepak Dew
Ranch Hand

Joined: Mar 29, 2004
Posts: 79
I am using RedHa Linux 2.4.21-20.0.1.ELsmp #1
and using Apache 2.046 which comes bundled with this red Hat.
My apache processess are hanging at random.
When I do strace -p pid I am getting following :

Process 11819 attached - interrupt to quit
futex(0x7d41bf8, FUTEX_WAIT, 11864, NULL <unfinished ...>

So apache is not responding to any requests at all at this moment.

Also, the parent apache process which is in file is no more living
(already killed for no reasons) so when I try to stop the apache using
apachectl -k stop command it is complaining that it can nto stop as no pid

I am using worker MPM in apache.

PLease help me out



IBM Certified Advance WAS Administrator on 6.1, BEA Certified WebLogic Server 81 Administrator, Vitria Certified BusinessWorks Administrator, SCJP 2
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 446

Did u try taking the thread dump of the processes ?

Typically in HP-UX, I do "kill -3 <Unix PID>" to get the thread dumps of all the processes on stdout.

Thread Dump might provide you with more detail in resolving this issue.

Hope this helps,
I agree. Here's the link:
subject: Apache Hanging in Linux 3.0
It's not a secret anymore!