From owner-freebsd-stable@FreeBSD.ORG Sun Nov 25 15:52:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78C54DA for ; Sun, 25 Nov 2012 15:52:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 354DD8FC12 for ; Sun, 25 Nov 2012 15:52:32 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:a946:154e:761:f099]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 6EC8E4AC2D for ; Sun, 25 Nov 2012 19:52:25 +0400 (MSK) Date: Sun, 25 Nov 2012 19:52:17 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <773134136.20121125195217@serebryakov.spb.ru> To: freebsd-stable@freebsd.org Subject: /var/account/acct gorws indefinitely: Does /etc/peridoic/daily/310.accounting work properly? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 15:52:32 -0000 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