Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 1997 14:48:55 -0700
From:      David Greenman <dg@root.com>
To:        Brett Glass <brett@lariat.org>
Cc:        bugs@FreeBSD.ORG
Subject:   Re: Serious maintenance bug in 2.2.2-R 
Message-ID:  <199707042148.OAA23561@implode.root.com>
In-Reply-To: Your message of "Fri, 04 Jul 1997 14:49:21 MDT." <3.0.1.32.19970704144921.008e1c40@mail.lariat.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Upgraded a system to 2.2.2-R not long ago, and just discovered that it was
>running out of disk space. Why? Because the new /etc/daily, /etc/weekly,
>and /etc/monthly no longer cleaned up or rotated the log files! They were
>growing and growing, and began overflowing the disk on this busy system,
>causing all manner of havoc.  Worse still, the nightly backups that
>normally went to our backup catching machine were overflowing ITS disk,
>leaving us vulnerable to data loss.
>
>I don't know whether this problem occurs exclusively on upgrades, but it's
>a ticking time bomb that could cause major problems. Does 2.2.2-R have any
>provisions to rotate and clean up log files? For now, I've added code from
>2.1.0-R to daily.local, weekly.local, and monthly.local to get things back
>under control.

   This is handled by "newsyslog". See /etc/newsyslog.conf and the associated
manual pages.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707042148.OAA23561>