Apache 2.2.16 + PHP 5.2.14 sometimes causes Apache to not stop properly

Posted by ZiggyTheHamster on Server Fault See other posts from Server Fault or by ZiggyTheHamster
Published on 2011-01-05T18:04:34Z Indexed on 2011/01/05 18:56 UTC
Read the original article Hit count: 440

Filed under:
|
|
|

Sometimes, Apache decides not to shut down nicely. killall apache2 or kill -9 (apache2 PID here) shuts it down so that it can actually start back up without the port being in use. Other posts seem to indicate that PHP 5.2 might have issues hanging up Apache. I'm using the worker MPM on an x86_64 Gentoo Linux system if that helps.

Any other things I should consider hanging up Apache besides PHP? Should I be stopping Apache with /etc/init.d/apache2 gracefulstop instead of /etc/init.d/apache2 stop?

© Server Fault or respective owner

Related posts about linux

Related posts about php