Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 19:52:17 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   /var/account/acct gorws indefinitely: Does /etc/peridoic/daily/310.accounting work properly?
Message-ID:  <773134136.20121125195217@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-stable.

 I have accounting_enable="YES" in /etc/rc.conf and:

daily_accounting_enable="YES"
daily_accounting_compress="YES"
daily_accounting_flags=-m
daily_accounting_save=365

in /etc/periodic.conf

It packs daily logs, but it looks like main log (/var/account/acct) is
not tuncated at all. It is 30M now and every day I got monotonically
increasing numbers in daily mail.

 Is it Ok, and it is as it should be? I've thought, log rotation
should restart log every day and I should get _Daily_ resource usage
by user in daily mail...

 If it is Ok, is it possible to switch behavior to expected by me
without code editing?

-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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