From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 07:10:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2623106564A for ; Mon, 5 Sep 2011 07:10:28 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 87CF78FC12 for ; Mon, 5 Sep 2011 07:10:28 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p857APZf046702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Sep 2011 02:10:25 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p857AOYN071060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Sep 2011 02:10:25 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p857AOW1071059 for freebsd-questions@freebsd.org; Mon, 5 Sep 2011 02:10:24 -0500 (CDT) (envelope-from dan) Date: Mon, 5 Sep 2011 02:10:24 -0500 From: Dan Nelson To: freebsd-questions@freebsd.org Message-ID: <20110905071024.GB9801@dan.emsphone.com> References: <20110905052902.GB4255@weller-fahy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110905052902.GB4255@weller-fahy.com> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 05 Sep 2011 02:10:25 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Subject: Re: Accounting "disabled/enabled" messages 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: Mon, 05 Sep 2011 07:10:28 -0000 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