[Bug 200628] Wired memory not released after deletion from ZFS, kernel kills processes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 4 07:29:53 UTC 2015


            Bug ID: 200628
           Summary: Wired memory not released after deletion from ZFS,
                    kernel kills processes
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: pascal.guitierrez at gmail.com

Seeing this behaviour on 10.1-RELEASE and 10.1-STABLE (May 26th) amd64 systems.

Systems are low-memory (2GB), but have also seen this behaviour on high (256GB)
memory systems all without swap.

10.0-RELEASE seems to NOT be affected.

Run a system without swap and a ZFS filesystem (eg: 1TB to 2TB used).
Appears to be triggered when deleting (either through snapshots, or via regular
files) a large of amount data (hundreds of GB) (even with few files).
Wired memory skyrockets and is never reclaimed until hitting vm.v_free_min,
after which the kernel randomly kills processes to stay up.
Once this has been done, sometimes the wired memory is reclaimed, sometimes
Exactly the same config on 10.0-RELEASE is not affected.

Have tried setting:
vfs.zfs.arc_max=128M (and lower)
vfs.zfs.zio.use_uma=0 (no effect)
increasing v_free_min and v_free_target = system just kills processes faster

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

More information about the freebsd-bugs mailing list