[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apache restart while rotating logs

From: Andreas Rust
Subject: Re: apache restart while rotating logs
Date: Fri, 11 Mar 2005 10:02:47 +0100


slightly OT, but solves the problem aswell. I like to use cronolog. that is and 1.7.0-beta runs rockstable on production systems here for quite a while.

Also does a more "precise" rotation than e.g. logrotate, doesn't need apache to be restarted and easens
my logparsing a little.



it should be sufficient to use 'apachectl graceful' in logrotate instead of restart.

Using 'graceful' (SIGUSR1) the apache master process keeps running with the same PID and just reloads the configuration, check files and gracefully restarts workers (waiting for their work to finish).


    Andreas Rust     -   webnova GmbH
    address@hidden  -
    Tel:  +49 (0)700 - 20 30 7000
    Fax:  +49 (0)700 - 20 30 8000
         Gemeinsam sind wir stark...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]