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'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |