Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 08:44:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231457] Out of swap space on ZFS
Message-ID:  <bug-231457-227-6bdgW3p5CN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231457-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231457-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231457

--- Comment #12 from dimka@dz.dn.ua ---
I check and made sure that 12.0-RELEASE/amd64 is also affected by this prob=
lem,
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  =3D 2147483648 (2048 MB)
avail memory =3D 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=3Don zroot/swap
4. Reboot.
5. Compile and use "Memory occupation test tool" from bug report attachment=
s:
   # ./memphage 9500
Argument is memory occupation limit (mem free + swap free - 500) in megabyt=
es.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231457-227-6bdgW3p5CN>