Question about Apache 2.0.46 and "hung" threads

This is a discussion on Question about Apache 2.0.46 and "hung" threads within the Linux Web Servers forums, part of the Web Server and Related Forums category; Ok, I'm running Apache 2.0.46 on RedHat Linux 9 with the "worker" MPM configured. I'...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
Tom Williams
 
Posts: n/a
Default Question about Apache 2.0.46 and "hung" threads

Ok, I'm running Apache 2.0.46 on RedHat Linux 9 with the "worker" MPM
configured. I've also got MySQL 4.0.14 running on the box and
PHP-4.3.2 configured. I run a PHP-based message forum on the site
(primarily) and have been noticing something "strange" in the
"server-status" output. There are two threads that seem to be "hung":

.........................W........................ ...............
........W......................................... ...............
____K______________K__K__......................... ..............
.................................................. ...............
_____K______________K____......................... ..............
___KR__K___W___________KK......................... ..............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............
.................................................. ...............

The two "W"s in the first two lines are what I'm referring to. Since
the process that owned those threads is apparently "gone", I'm not
sure why those threads are still lingering around. I would imagine
issuing an "apachectl restart" vs an "apachectl graceful" would cause
those threads to die and release whatever resources they might have.

I also notice my system load is higher than usual and I'm trying to
determine what the best course of action would be to deal with
situations like this. Would a nightly "apacehctl restart" be a good
preventative measure? Right now, I have a weekly "apachectl graceful"
scheduled to run. I'm concerned these threads are also holding on to
MySQL connections which is leading to other problems.

Any ideas or advice would be greatly appreciated. :)

Thanks in advance...

Peace...

Tom
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0