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

Re: system gobbles disk space



Tony van der Hoff <tony@vanderhoff.org> wrote:

> However, it wouldn't work in this case. Various other applications
> rely on the names of the compressed files being in a particular
> format, which I can't easily achieve with logrotate. So, I'll stick
> with my original script but add "apachectl graceful" before fiddling
> with the files.

You should add this _after_ fiddling with the files. Reloading apache
before renaming/rotating the log files will not stop them from being
reopened again.

You rename/rotate the files _first_ and *then* reload apache to have the
intended effect.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: