Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2024 02:09:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page
Message-ID:  <bug-280846-227-RiFLg1kQNj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280846-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280846-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=3D280846

--- 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=3D0
vm.swap_idle_enabled=3D0

(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.

--=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-280846-227-RiFLg1kQNj>