From owner-freebsd-questions@FreeBSD.ORG Sat May 26 22:59:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 001BA106564A; Sat, 26 May 2012 22:59:15 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id AE2108FC12; Sat, 26 May 2012 22:59:15 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q4QN17U0083826; Sat, 26 May 2012 18:01:07 -0500 (CDT) Date: Sat, 26 May 2012 18:01:07 -0500 (CDT) From: Robert Bonomi Message-Id: <201205262301.q4QN17U0083826@mail.r-bonomi.com> To: jos@webrz.net, matthew@freebsd.org In-Reply-To: <4FC14259.4020904@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: NewSysLog | Crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2012 22:59:16 -0000 > From owner-freebsd-questions@freebsd.org Sat May 26 15:55:21 2012 > Date: Sat, 26 May 2012 21:51:37 +0100 > From: Matthew Seaman > To: Jos Chrispijn > Cc: freebsd-questions@freebsd.org > Subject: Re: NewSysLog | Crontab > > On 26/05/2012 18:41, Jos Chrispijn wrote: > > Thanks, will investigate this... > > Keeping the list in the loop... > > > % df -ih /var/log > > > > Filesystem Size Used Avail Capacity iused ifree %iused Mounted on > > /dev/ada0p2 453G 5.8G 411G 1% 468k 29M 2% / > > One big partition for the whole OS? > > > % ls -laoR /var/log > > > > total 448 > > drwxr-xr-x 5 root wheel - 1024 May 26 00:00 . > > drwxr-xr-x 23 root wheel - 512 May 17 19:57 .. > > drwx------ 2 root wheel - 512 May 22 23:30 .spamassassin > > -rw-r--r-- 1 root wheel - 1 May 23 16:04 Minimalist.log > > -rw------- 1 root wheel - 60 May 26 00:00 all.log > > -rw------- 1 root wheel - 14 May 26 00:00 all.log.0.bz2 > > -rw------- 1 root wheel - 14 May 25 00:00 all.log.2.bz2 > > -rw------- 1 root wheel - 14 May 24 00:00 all.log.4.bz2 > > -rw------- 1 root wheel - 14 May 23 00:00 all.log.6.bz2 > > Oooh, fun. None of the obvious ideas were right, and this is looking > really quite mysterious. You've only got even numbered versions of > all.log backups, but they are spaced 1 day apart, which is the usual > recycle timing for all.log. This is a clear-cut indication of _two_ processes running that rotate the logfiles. The first process to run works, and the second one bitches and moans, and -quits- (with the error shown about not being able to find the file original file to compress) *after* having rened the 1st back-up to the 2nd name.