Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2022 16:13:30 +0200
From:      Kristof Provost <kp@FreeBSD.org>
To:        Marcel Bischoff <marcel@herrbischoff.com>
Cc:        stable@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: pfctl: Cannot allocate memory.
Message-ID:  <9184152E-52BF-460A-97C1-CA10E2FDCE03@FreeBSD.org>
In-Reply-To: <8BBDA16D-207B-4704-86F5-F75F2A44AD7B@herrbischoff.com>
References:  <06EB4080-08D2-42DE-BB0D-E0C1CAE0EC2F@herrbischoff.com> <BA7E1E6B-17AB-40E8-AC00-A3517AEF0AB7@FreeBSD.org> <8BBDA16D-207B-4704-86F5-F75F2A44AD7B@herrbischoff.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 memor=
y
>>> pfctl: Syntax error in config file: pf rules not loaded
>>>
>> That sounds a lot like https://bugs.freebsd.org/bugzilla/show_bug.cgi?=
id=3D260406
>>
>> My current theory is that this is a bug in the memory allocator somewh=
ere. 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 backg=
round 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9184152E-52BF-460A-97C1-CA10E2FDCE03>