ZFS kmem_map too small.

Henrik Brix Andersen henrik at brixandersen.dk
Mon Oct 15 01:42:17 PDT 2007


On Mon, Oct 08, 2007 at 07:18:10PM +0200, Claus Guttesen wrote:
> > I was able to reproduce the panic by rsyncing big files and trying
> > bonnie++ test suggested in this thread.
> >
> > Can you guys retry with this patch:
> >
> >         http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch
> >
> > It's a hack, yes, but allows to mitigate the problem quite well. I'm
> > looking for a solution that can be used for 7.0 before we find a better
> > fix.
> 
> Congrats Pawel! You made my server survive my rsync of 90 GB. :-)
> 
> This is on same src as the one that required a reboot except for your
> patch. So this fix does 'alleviate kmem_map too small' in my case.

While we have come across the 'kmem_map too small' panics in the past,
these are now solved - but our rsync processes still hang at random,
just spinning the CPU. This is when running multiple rsyncs to the
same zpool:

  http://www.brixandersen.dk/tmp/zfs-rsync-debug.1.txt

This is reproduceable (but only after running an intensive set of
rsync processes for ~10-12 hours or so) on our i386 RELENG_7 box with
the above mentioned patch, 4GB RAM, KVA_PAGES=512 and the following
settings in loader.conf:

vfs.zfs.prefetch_disable="1"
vfs.zfs.zil_disable="1"
vfs.zfs.arc_max="209715200"
vm.kmem_size="1258291200"
vm.kmem_size_max="1258291200"

Regards,
Brix
-- 
Henrik Brix Andersen <henrik at brixandersen.dk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 209 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20071015/b0c7d6ec/attachment.pgp


More information about the freebsd-fs mailing list