Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 12:54:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260406] pfctl: Cannot allocate memory (after a time)
Message-ID:  <bug-260406-227-YSdZBVYzqA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260406-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260406

--- Comment #4 from Kristof Provost <kp@freebsd.org> ---
(In reply to tech-lists from comment #3)
That's strange. DIOCRINADEFINE does allocate memory, but the first (and
largest) allocation is done with M_WAITOK and cannot fail (or produce ENOMEM).
The alternative sources seem to mostly be very small routine allocations that
I'd only expect to fail when the system is completely out of memory.

Can you confirm what revision of main you're running, and then show the output
of `dtrace -n 'fbt:pf:pfr_ina_define:return { printf("%x %x", arg0, arg1); }'`
run during a call to the failing pfctl command.

You are running CURRENT, right? 13.0 does use M_NOWAIT for the large
allocation, but that was fixed in stable/13 back in June.

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

home | help

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