[Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page
Date: Wed, 02 Oct 2024 02:09:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280846 --- Comment #18 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Henrich Hartzer from comment #15) One thing that high memory use can do is to swap out the kernel stacks of processes that allow you to control/communicate with the system. At that point they can not run at all until swapped back in. This can be avoided via /etc/sysctl.conf having: # # Together this pair avoids swapping out the process kernel stacks. # This avoids processes for interacting with the system from being # hung-up by such. vm.swap_enabled=0 vm.swap_idle_enabled=0 (main [so: 15] now always does this and no longer has those to control.) This does not prevent OOM kills of such processes: that is a separate issue. -- You are receiving this mail because: You are the assignee for the bug.