Summary: | Swap on ZFS can crash server in high memory usage conditions | ||
---|---|---|---|
Product: | Base System | Reporter: | dmilith <dmilith> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | crest, grahamperrin, ota, rob2g2-freebsd |
Priority: | --- | Keywords: | crash |
Version: | 12.2-STABLE | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262595 |
Description
dmilith
2021-04-02 14:37:55 UTC
The crash is in UMA code, it does not look directly related to ZFS. Also, what is 12.2-RELEASE-HBSD ? > on ZFS See also: <https://github.com/openzfs/zfs/issues/7734> >> Swap deadlock in 0.7.9 · Issue #7734 · openzfs/zfs (In reply to Graham Perrin from comment #2) … sorry, I overlooked comment 1. My bad. The (long and) short of it is: writing to ZFS can require heap allocations making ZVOLs unsuitable as swap devices (swapping to normal files on ZFS mounts would be even worse). The only reliable solution is to use something simpler as swap space e.g. a gmirror+geli partition. I know this sucks if you have no space left on your disks. |