Is there any difference Apache command between "graceful" and "reload/restart" ?

Solution Unverified - Updated -

Issue

  • I would like to know what a difference the internal behavior between reload/restart and graceful.
  • What does "a log rotation script using USR1" mean exactly in the document?
At present there is no way for a log rotation script using USR1 to know for certain that all children writing the pre-restart log have finished. We suggest that you use a suitable delay after sending the USR1 signal before you do anything with the old log. For example if most of your hits take less than 10 minutes to complete for users on low bandwidth links then you could wait 15 minutes before doing anything with the old log.
  • How we can avoid logging lost due to side effect by graceful command?
  • Some customers think if they can use graceful in their logrotate.d/httpd instead of reload.

Environment

  • Apache httpd 2.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.