Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2020 14:36:44 +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-ITbjhcf5bk@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

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
         Resolution|---                         |Overcome By Events
             Status|New                         |Closed

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
I'm not sure there is much we can do here.  I recently made some changes to
reduce memory usage for large pf tables, but as Kristof pointed out, we can=
't
realistically use M_WAITOK since the tables can use an arbitrary amount of
memory (subject to a sysctl which can be changed).

I would suggest seeing if you can still reproduce the problem on the latest
HEAD or stable/12, though.  r345177 increased the memory footprint of large
tables, especially on systems with many CPUs.  r360903 and r361095 restore =
the
previous behaviour if you are not using per-entry counters (the default).

I will thus close the bug for now.  Please re-open if you are still able to
trigger the failure with the above-mentioned revisions.

--=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-ITbjhcf5bk>