This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Hanging in Linux 3.0

 
Deepak Dew
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Deepak Pant
Ranch Hand
Posts: 446
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic