Re: pfctl: Cannot allocate memory.

From: The Doctor <doctor_at_doctor.nl2k.ab.ca>
Date: Mon, 28 Mar 2022 22:10:54 UTC
On Mon, Mar 28, 2022 at 04:13:30PM +0200, Kristof Provost wrote:
> On 28 Mar 2022, at 14:14, Marcel Bischoff wrote:
> >> On 28. Mar 2022, at 09:44, Kristof Provost <kp@freebsd.org> wrote:
> >>
> >> On 27 Mar 2022, at 22:11, Marcel Bischoff wrote:
> >>> Hello all,
> >>>
> >>> when updating a table of ~370k entries, PF sometimes refuses to do so and from then on continues to refuse until I reboot the machine.
> >>>
> >>> $ doas pfctl -f /etc/pf.conf
> >>> /etc/pf.conf:27: cannot define table pfbadhost: Cannot allocate memory
> >>> pfctl: Syntax error in config file: pf rules not loaded
> >>>
> >> That sounds a lot like https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260406
> >>
> >> My current theory is that this is a bug in the memory allocator somewhere. I do not have the background or time to debug that.
> >
> > Thanks for your reply Kristof. I concur, it indeed looks a lot like the bug ticket you linked. I could spare the time but I don't have the background or capability to debug this myself. Is there anything I could do to help move this issue along?
> >
> Short of studying the memory allocation code and finding the bug, no.
> 
> Kristof
> 


Best do a shotdown / restart.

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
One cannot abide in truth while spinning falsehoods. -unknown Beware https://mindspring.com