8.0-R-p2 ZFS: unixbench causing kmem exhaustion panic

Ivan Voras ivoras at freebsd.org
Wed Jan 13 17:55:54 UTC 2010

Doug Poland wrote:

> So the question is, can ZFS be tuned to not panic or hang no matter
> what I throw at it?

Apparently not.

 > I began with a system with no tunables in /boot/loader.conf
 > (vm.kmem_size and vm.kmem_size_max).  Then I tried increasing
 > vm.kmem_size and vm.kmem_size_max a GB at a time, until I was at 4GB.

Try adding vfs.zfs.arc_max=512M to /boot/loader.conf.

More information about the freebsd-questions mailing list