wood burning stoves 2.0*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Hanging in Linux 3.0" Watch "Apache Hanging in Linux 3.0" New topic
Author

Apache Hanging in Linux 3.0

Deepak Dew
Ranch Hand

Joined: Mar 29, 2004
Posts: 79
Hi,
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 httpd.pid 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
running.




I am using worker MPM in apache.


PLease help me out

Thanks

Deepak


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: 443
Deepak,

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,
Deepak
 
Don't get me started about those stupid light bulbs.
 
subject: Apache Hanging in Linux 3.0