ZFS 'vfs.zfs.arc_meta_limit' ignored?

Hi all,

I'm running a FreeBSD 10 (NanoBSD of an USB stick) host with no swap configured and 16GB RAM and it seems ZFS goes over its ARC metadata limits:

Code:
vfs.zfs.arc_max                         3221225472
vfs.zfs.arc_min                         369098752
vfs.zfs.arc_meta_used                   4466648368 <-- !!
vfs.zfs.arc_meta_limit                  134217728  <-- !!

This happens during a rather large zfs send/ receive via netcat. After some time the system goes up in flames with errors like uid X, was killed: out of swap space.

I did some tweaking of /boot/loader.conf.local and ended up with this (notice the large amount of kernel memory and small ARC size) to no avail:

Code:
vm.kmem_size="11G"
vm.kmem_size_max="11G"
vfs.zfs.arc_max="3G"
vfs.zfs.prefetch_disable="1"

Can anyone provide me with a hint as to what the problem might be?
 
Back
Top