kern/144416: Kernel panic on online filesystem optimization
admin at nenergy.ru
Tue Mar 2 08:10:01 UTC 2010
>Synopsis: Kernel panic on online filesystem optimization
>Arrival-Date: Tue Mar 02 08:10:01 UTC 2010
>Release: FreeBSD 7.1-RELEASE
FreeBSD hq-bsd0.hq.stroyreserv.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
During online filesystem optimization system can go to kernel panic on certain circumstances.
Our case was raid 0+1, ar0: 953877MB <nVidia MediaShield RAID0+1 (stripe 64 KB)> status: READY
with /var mounted on /dev/ar0s1f (ufs, NFS exported, local, soft-updates, fsid 382aad491192146c)
Server role is network gateway, firewall, squid-proxy, mail server and some monitoring stuff.
/var is heavily used by squid cache and mail-store.
Apparently, we hit online fs optimization threshold, which is (minfree-2 percent) < 6.5 (current defrag level). In messages there are messages on fs going from TIME to SPACE optimization and it went fine, but after message fs going from SPACE to TIME there is kernel panic with following data:
dev = ar0s1f, block = 29238692, fs = /var
panic: ffs_blkfree: freeing free frag
cpuid = 0
Physical memory: 2035 MB
Maybe it-s already known issue, but better repost, than forget.
Non tried as it-s production-use server.
Avoid using online filesystem optimization by good recepies given here http://lists.freebsd.org/pipermail/freebsd-stable/2007-April/034711.html , or better use of planning file system.
More information about the freebsd-bugs