Is there any difference Apache command between "graceful" and "reload/restart" ?
Issue
- I would like to know what a difference the internal behavior between
reload/restartandgraceful. - 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
gracefulcommand? - Some customers think if they can use
gracefulin theirlogrotate.d/httpdinstead ofreload.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
