[PLUG] Log rotation: almost, but not quite

alan alan at clueserver.org
Wed Oct 2 10:16:05 UTC 2002


On Wed, 2 Oct 2002, Rich Shepard wrote:

> On Wed, 2 Oct 2002, Roderick A. Anderson wrote:
> 
> > Well before I got all wrapped up in finding two different maillog files on
> > my systems I was going to suggest looking at the /var/lib/logrotate.status
> > file - it's ASCII.  Maybe your old weekly rotate left a date in the
> > future so logrotate doesn't think it's time to do a rotate yet.

Well, if it did not solve his problem, it may have solved mine.

Logrotate was going out and trying to read about 10,000 bogus error 
messages in a directory that no longer existed.  Hopefully nuking the 
status file will end that behaviour.  (The process would wedge with 99% 
cpu usage.)






More information about the PLUG mailing list