[nzlug] Apache Restarting Problems

Hadley Rich hads at nice.net.nz
Wed Mar 19 13:24:04 NZST 2008


On Wednesday 19 March 2008 14:17:41 Steve Holdoway wrote:
> This is quite common in the real world for apache... and why a restart is
> not always the best solution - simply because the shutdown hasn't
> necessarily completed by the time the stop script has completed.
>
> Calling /etc/init.d/apache2 stop, checking with ps, then
> /etc/init.d/apache2 start is best, or sticking a couple of second delay in
> the script between the stop and start is a common hack/bodge too.

Or just issue a reload if a restart isn't actually needed.

hads
-- 
http://nicegear.co.nz
VoIP, DVB and other Linux compatible hardware. Linux laptops.



More information about the NZLUG mailing list