[Bug 231457] Out of swap space on ZFS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 11 08:44:10 UTC 2019


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

--- Comment #12 from dimka at dz.dn.ua ---
I check and made sure that 12.0-RELEASE/amd64 is also affected by this problem,
test tool and sendmail processes was killed by OOM after physical memory is
over
and several megabytes of swap were used.
Short hardware details:
CPU: Intel(R) Celeron(R) CPU 847 @ 1.10GHz (1097.53-MHz K8-class CPU)
real memory  = 2147483648 (2048 MB)
avail memory = 1987403776 (1895 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
da0: <SanDisk Ultra USB 3.0 1.00> Removable Direct Access SPC-4 SCSI device
da0: 14663MB (30031250 512 byte sectors)

You can a very simple test on your hardware or VM:
1. Install system from DVD to cleaned drive in "Auto (ZFS)" mode.
2. Comment GPT swap entry (created by installer) in /etc/fstab.
3. Create swap space on ZFS pool:
   # zfs create -V 8GB -o org.freebsd:swap=on zroot/swap
4. Reboot.
5. Compile and use "Memory occupation test tool" from bug report attachments:
   # ./memphage 9500
Argument is memory occupation limit (mem free + swap free - 500) in megabytes.

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


More information about the freebsd-bugs mailing list