Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 18:23:58 +1000
From:      Sean <sean@gothic.net.au>
To:        =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= <martinrame@yahoo.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: fsck_ufs running too often
Message-ID:  <3729A720-2C8F-4C84-B05A-201394C40D63@gothic.net.au>
In-Reply-To: <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com>
References:  <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3729A720-2C8F-4C84-B05A-201394C40D63>