[Bug 260406] pfctl: Cannot allocate memory (after a time)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Dec 2021 14:20:59 UTC

--- Comment #19 from Kristof Provost <kp@freebsd.org> ---
(In reply to tech-lists from comment #18)
> pf table entries:       160, 25400000,   24700,    5400,   58807,   4,   0,   0

Okay, so that's the relevant line. Limit of 25400000, 24700 used, 5400 free.
We also see 4 failed, which matches the failures you're seeing, but I'm not
clear on why we'd get allocation failures when we're so far from the limit.

That can happen if the constructor fails, but there's no constructor for pf
table entries, so that's not it. 

The only other reason I can see for it is that we're failing to find free
memory to allocate from. So we're still at "Your system is out of memory"
rather than anything else.

You are receiving this mail because:
You are the assignee for the bug.