[Bug 227213] FreeBSD 10.4 kernel deadlocks on sysctlmemlock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 3 18:04:26 UTC 2018


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

--- Comment #9 from Mark Knight <markk at knigma.org> ---
You asked:

> What do you use vm.defer_swapspace_pageouts=1 for?

After moving existing disks to a new chassis I have more RAM than swap and
repartitioning would be a pain - I really don't need 16GB of swap! Without this
sysctl I was finding my swap was becoming full and lots of associated "out of
swap space" error. Since adding this sysctl that problem as ceased. I hope 11.x
won't have the same problem...

As requested, here's a fresh kernel dump created as follows:

   1) Disabled snmpd and snmptrapd in /etc/rc.conf, so definitely no snmpd
running
   2) reboot with 10.4 kernel
   3) Login to console as root
   4) Type ps <return>
   5) Deadlock occurs
   6) CTRL-T shows [sysctl-mem]
   7) Ctrl-Alt-ESC followed by call doadump

http://www.knigma.org/scratch/core.txt.1
http://www.knigma.org/scratch/vmcore.1.gz

Kernel is the same file as before, so no need to download that again!

Many thanks!!

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


More information about the freebsd-stable mailing list