Apache – graceful restart

By | November 7, 2008

Apachectl restart is used in 98% of the cases that require a web server reboot. What not everyone knows is that we can use a command that doesn’t stop all the child processes and doesn’t lead to possible blocked user sessions.

apachectl graceful

will allow each child process to die peacefully. For an even more graceful restart use

apachectl -k graceful-stop && apachectl -k start

Leave a Reply

Your email address will not be published. Required fields are marked *