ZFS kmem_map too small.

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 15 02:47:43 PDT 2007


On Mon, Oct 15, 2007 at 10:26:29AM +0200, Henrik Brix Andersen wrote:
> 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 looks like VFS deadlock between process 42575 and 42585. You
debugging is really nice, but unfortunately there is no backtrace of
process 42575, so we don't know where and why it's stuck...

Can you next time take 'show lockedvnods', 'show alllocks' (as you did
this time), but also 'alltrace'?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071015/e43947af/attachment.pgp


More information about the freebsd-current mailing list