[Bug 199189] SWAP on ZFS can crash server

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 15 23:12:43 UTC 2015


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

Steven Hartland <smh at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smh at FreeBSD.org

--- Comment #2 from Steven Hartland <smh at FreeBSD.org> ---
Without some serious work, swap on ZFS will be error prone as ZFS can require
memory to complete its IO pipeline and swap data to its vdevs so if memory is
really short it can easily cause a deadlock.

So while light use of swap on ZFS can work, heavy use of it will almost
certainly fail.

Given this I would never recommend ZFS backed swap.

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


More information about the freebsd-fs mailing list