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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Dec 2021 14:58:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260406

--- Comment #20 from tech-lists@zyxst.net ---
(In reply to Kristof Provost from comment #19)

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

I've not rebooted the system yet. here's top output:

last pid: 50141;  load averages:  0.81,  0.35,  0.27 up 0+14:30:53  14:49:30
67 processes:  1 running, 66 sleeping
CPU:  0.0% user,  0.0% nice,  0.2% system,  0.0% interrupt, 99.8% idle
Mem: 9252K Active, 44M Inact, 139M Laundry, 3161M Wired, 40K Buf, 4461M Free
ARC: 1352M Total, 507M MFU, 353M MRU, 132K Anon, 8512K Header, 483M Other
     507M Compressed, 740M Uncompressed, 1.46:1 Ratio
Swap: 12G Total, 12G Free

ran the script again and it failed again. top output after this:

last pid: 50441;  load averages:  0.18,  0.26,  0.25                           
                         up 0+14:37:06  14:55:43
28 processes:  1 running, 27 sleeping
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 12M Active, 45M Inact, 139M Laundry, 3122M Wired, 40K Buf, 4494M Free
ARC: 1352M Total, 508M MFU, 353M MRU, 8516K Header, 483M Other
     507M Compressed, 741M Uncompressed, 1.46:1 Ratio
Swap: 12G Total, 12G Free

Why would it report out-of-memory with over 4GB available?

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