Many processes stuck in zfs

Peter Jeremy peterjeremy at acm.org
Tue Mar 9 10:54:00 UTC 2010


On 2010-Mar-09 10:15:53 +0100, Stefan Bethke <stb at lassitu.de> wrote:
>Over the past couple of months, I've more or less regularly observed machines having more and more processes stuck in the zfs wchan.  The processes never recover from that,

How long have you waited?

There seems to be a problem with low free memory handling that causes ZFS
to turn into cold molasses.  The work-around is to run a program that
allocates a decent size chunk of memory and then exits.  The original
suggestion was something like:
	perl -e '@x = (0) x 1000000;'
I've written a short program that allocates and dirties ~100MB and then
exits and run it from cron.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100309/3d8fa659/attachment.pgp


More information about the freebsd-stable mailing list