Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 02:10:24 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Accounting "disabled/enabled" messages
Message-ID:  <20110905071024.GB9801@dan.emsphone.com>
In-Reply-To: <20110905052902.GB4255@weller-fahy.com>
References:  <20110905052902.GB4255@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 05), David J. Weller-Fahy said:
> I noticed today the following entries in my dmesg.
> 
> #v+
> Accounting enabled
> Accounting disabled
> Accounting enabled
> Accounting disabled
> Accounting enabled
> Accounting disabled
> Accounting enabled
> #v-
> 
> The uname -a follows.
> 
> FreeBSD NAStie 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16 UTC 2011     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> I tracked the actual messages down to /usr/src/sys/kern/kern_acct.c, but
> am not familiar enough with kernel internals to figure out why its
> happening.  It *looks* like its happening every time I reboot the system
> (been playing around with the power).  However, I want to be sure, and
> figured I'd check with the list.
> 
> So - are these messages something to be concerned about?  Or something
> to ignore?  Or something to ignore in a BETA environment, and not in a
> production environment?

Assuming you have accounting enabled in /etc/rc.conf, that's to be expected. 
Accounting is enabled on boot, disabled on shutdown, and cycled twice during
/var/account/acct rotation at 3am.  See /etc/rc.d/accounting and
/etc/periodic/daily/310.accounting .

-- 
	Dan Nelson
	dnelson@allantgroup.com



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