Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2019 19:13:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235494] Excessive OOM killing
Message-ID:  <bug-235494-227-zRP689GexK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235494-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235494-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=3D235494

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
FreeBSD does OOM killing based on its own criteria for being unable to
achieve sufficient free RAM after enough tries to gain more free RAM,
even when there is lots of swap space available. (Trying to buildworld
with -j4 on 1 GByte 4-core armv7/aarch64 systems tend to have this issue
show up when configured with sufficient swap.)

The number of tries is configurable via increasing vm.pageout_oom_seq
(default 12 last I knew). Such has been sufficient for those small arm
systems doing such builds, using figures like 120 or 1024 or even more.

But it looks like you are also running out of swap as well: the messages

swap_pager_getswapspace(32): failed

indicate that. (Some messages mentioning "out of swap" can be misnomers for
some contexts, with the lack of free RAM actually driving the messages to
show up independent of the swap space available.)

Can you do something to monitor your free RAM availability and swap space
availability as things progress? It might suggest some sort of leaking
resource(s).

--=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-235494-227-zRP689GexK>