From owner-freebsd-stable@FreeBSD.ORG Sat Jun 23 08:24:19 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE4341065670 for ; Sat, 23 Jun 2012 08:24:19 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from hosted.gothic.net.au (2001-44b8-4114-fe00-5054-00ff-fe31-937e.static.ipv6.internode.on.net [IPv6:2001:44b8:4114:fe00:5054:ff:fe31:937e]) by mx1.freebsd.org (Postfix) with ESMTP id 30AA18FC14 for ; Sat, 23 Jun 2012 08:24:19 +0000 (UTC) Received: from hosted.gothic.net.au (localhost [127.0.0.1]) by hosted.gothic.net.au (Postfix) with ESMTP id 3WK8nQ0KwyzFXvD; Sat, 23 Jun 2012 18:24:10 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from hosted.gothic.net.au ([127.0.0.1]) by hosted.gothic.net.au (hosted.gothic.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5RqGWq5f75rX; Sat, 23 Jun 2012 18:23:59 +1000 (EST) Received: from 2001-44b8-4114-fe02-3106-e043-95e3-e975.static.ipv6.internode.on.net (2001-44b8-4114-fe02-3106-e043-95e3-e975.static.ipv6.internode.on.net [IPv6:2001:44b8:4114:fe02:3106:e043:95e3:e975]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sean@gothic.net.au) by hosted.gothic.net.au (Postfix) with ESMTPSA id 3WK8nC3X0QzFXv4; Sat, 23 Jun 2012 18:23:59 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Sean In-Reply-To: <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com> Date: Sat, 23 Jun 2012 18:23:58 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <3729A720-2C8F-4C84-B05A-201394C40D63@gothic.net.au> References: <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com> To: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= X-Mailer: Apple Mail (2.1278) Cc: "freebsd-stable@freebsd.org" Subject: Re: fsck_ufs running too often X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 08:24:19 -0000 On 23/06/2012, at 7:47 AM, Leonardo M. Ram=E9 wrote: > Hi, since a few of days ago, I noticed my home server turns very slow = more than once a day, so every time I run "top" to see what's processes = are running, I can see fsck_ufs at the very top, and the hard drive = working like mad. >=20 > I've checked my crontab and there's nothing related to fsck_ufs, where = can I start searching for the cause of the problem?, I thought this = process should run only at boot or shutdown, but this time it is running = -apparently- without a cause. >=20 > =20 Background fsck. Your server crashed, rebooted, started up and fsck is = running in the background while everything else continues. Ways to avoid background fsck: * Disable it completely in /etc/rc.conf: background_fsck=3D"NO". Then = fsck finishes completely before the OS continues booting, so there may = be extended delays if a crash occurs. * Use gjournal so fsck doesn't need to churn over the disks * Turn on softupdates-journaling for a similar effect. The more important thing is to find out why it crashed - if there was a = power outage, hardware or software issue. > uname -a: > FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 = 07:46:30 UTC 2012 = root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >=20 >=20 > Regards, > Leonardo M. Ram=E9 > http://leonardorame.blogspot.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"