[Bug 194513] zfs recv hangs in state kmem arena

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 27 01:58:09 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194513

--- Comment #2 from James Van Artsdalen <james-freebug at jrv.org> ---
I was able to complete a ZFS replication by manually intervening each time "zfs
recv" blocked on "kmem arena": running the attached program "eatmem" was
sufficient to unblock zfs each of the 17 times zfs stalled.

Eatmem is intended to consume about 24GB RAM out of 32GB physical RAM, thereby
pressuring the ARC and kernel cache to shrink: when the program exits it would
leave plenty of free RAM for zfs or whatever else.  What actually happened is
that every time, zfs unblocked as eatmem was growing: it was never necessary to
wait for eatmem to exit and free memory before zfs unblocked.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list