Option for graceful restart for apache

Version Number 1.337
Finished Yes
Type feature

This feature is still in testing, considered BETA at this time. It assumes that the graceful command is setup in your /etc/init.d/httpd boot script. Most scripts will simply have something like:

graceful|help|configtest)
      $apachectl $@

which is fine.

To enable this feature, add:

graceful_restarts=1

to your directadmin.conf, then restart DA.

Any call to add action=httpd&value=restart to the task.queue file will have it replaced with action=httpd&value=graceful.

Note that the full extent of not doing full retarts is not yet known, hence testing is required. Preliminary test show no issues when adding and removing new virtualhost with SSL certificates in apache 2.2.

Note that restarts issued in the service monitor will still do full restarts.

 
apache/980.txt · Last modified: 2010/02/27 02:42 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki