Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 16:05:26 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Kristof Provost <kp@freebsd.org>
Cc:        Marcel Bischoff <marcel@herrbischoff.com>, stable@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: pfctl: Cannot allocate memory.
Message-ID:  <YkS4Bqp24two3uBu@nuc>
In-Reply-To: <BA7E1E6B-17AB-40E8-AC00-A3517AEF0AB7@FreeBSD.org>
References:  <06EB4080-08D2-42DE-BB0D-E0C1CAE0EC2F@herrbischoff.com> <BA7E1E6B-17AB-40E8-AC00-A3517AEF0AB7@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 28, 2022 at 09:44:14AM +0200, Kristof Provost 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

Just a heads-up that this is believed to be fixed now in the main
branch.  The fix should appear in stable/13 and hopefully releng/13.1
shortly.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YkS4Bqp24two3uBu>