Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2020 12:41:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243561] pfctl -f fails on tables if system is swapping: cannot define table ${table_name}: Cannot allocate memory
Message-ID:  <bug-243561-227-YezQU1Syxq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243561-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243561-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=3D243561

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp@freebsd.org

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
Yeah ... you're out of memory, there's not much we can do in that situation.

The allocation code for tables deliberately does not try forever to get mem=
ory
(i.e. it allocates with M_NOWAIT), because if it did you could lock up pf
accidentally by trying to allocate a far too large table.
A consequence of this is that if you're under heavy memory pressure you're
going to fail to allocate, and fail the reconfiguration.

--=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-243561-227-YezQU1Syxq>