https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231457
Bug ID: 231457 Summary: Out of swap space on ZFS Product: Base System Version: 11.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: di...@dz.dn.ua After occupying all RAM and several hundred megabytes of swap space, the kernel kills large processes with the messages: Sep 14 03:04:30 hosting kernel: pid 2078 (mysqld), uid 88, was killed: out of swap space Sep 14 03:06:26 hosting kernel: pid 7068 (mysqld), uid 88, was killed: out of swap space Sep 14 03:06:32 hosting kernel: pid 2085 (clamd), uid 106, was killed: out of swap space Tested on 3 real and 1 virtual machine with 1/2/4GB RAM and 8GB swap volume, on 11.2-RELEASE/amd64. I NOT check this on 11.0-RELEASE and 11.1-RELEASE. It's like another bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199189 but I never reached this bug on 10.*/amd64, and advice for volume/sysctl tunings from his discussion, did not help for me on 11.2/amd64. Detailed installation procedure # Boot from install DVD, select "Shell" in "Partitioning" menu. # # gnop create -S 4096 /dev/ada0 # zpool create -O mountpoint=none zroot /dev/ada0.nop # # zfs create -V 8GB -o org.freebsd:swap=on zroot/swap # zfs create -o quota=2GB -o mountpoint=/mnt zroot/root # zfs create -o quota=15GB -o mountpoint=/mnt/tmp zroot/tmp # zfs create -o quota=30GB -o mountpoint=/mnt/var zroot/var # zfs create -o quota=30GB -o mountpoint=/mnt/usr zroot/usr # zfs create -o quota=15GB -o mountpoint=/mnt/home zroot/home # # zpool export zroot # gnop destroy /dev/ada0.nop # dd if=/boot/zfsboot of=/dev/ada0 bs=512 count=1 # dd if=/boot/zfsboot of=/dev/ada0 bs=512 skip=1 seek=1024 # zpool import zroot # # exit # # Post-install, select "Live CD" mode. # # echo zfs_enable=\"YES\" >> /nmt/etc/rc.conf # zfs umount -a # zfs set mountpoint=legacy zroot/root # zfs set mountpoint=/tmp zroot/tmp # zfs set mountpoint=/var zroot/var # zfs set mountpoint=/usr zroot/usr # zfs set mountpoint=/home zroot/home # zpool set bootfs=zroot/root zroot # # exit -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"