How to gracefully restarting the Apache httpd daemon

ApacheToday i received an email from our customer said that they do not know how to restart the Apache Web Server graceful. Restarting Apache Web Server also known as gracefully restarting the Apache httpd daemon.

Gracefully restarting httpd daemon will ensures that existing processes are allowed to finish serving the current page. Besides, it will reduce the chance of disrupting a user’s browsing experience.

How do i gracefully restart Apache Web Server?

To gracefully restart Apache web server. Please enter following command as the root user:-

Under Debian / Ubuntu Linux

apache2ctl graceful

Under RedHat / Centos / Fedora Linux

apachectl -k graceful

Continue reading