zfs and kmem_map too small panic

Bakul Shah bakul at bitblocks.com
Thu May 10 18:55:52 UTC 2007


> I'm running i386 on an AMD64 X2 with 2GB of RAM.
> 
> I used to see panics until I made the following additions:
> 
> /boot/loader.conf
> vfs.zfs.zil_disable="1"
> vm.kmem_size="536870912"
> vfs.zfs.arc_max="67108865"
> 
> /etc/sysctl.conf
> kern.maxvnodes=74500 [was 100000]

Many thanks!  This did the trick.  So far no crashes!  Would
be nice if correct defaults are set on loading zfs.ko.


More information about the freebsd-fs mailing list