On 23/06/2012, at 7:47 AM, Leonardo M. Ramé 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. > > 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. > >
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="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 > r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > Regards, > Leonardo M. Ramé > 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-unsubscr...@freebsd.org" _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"