[Bug 276870] mbuf cluster leak with on pf+bird2 bgp routers

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jul 2024 06:12:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276870

--- Comment #6 from Borja Marcos <borjam@sarenet.es> ---
I may have something related (or not).

I have observed a severe mbuf leak with the following sysctl variables growing
steadily.

vm.uma.mbuf_packet.stats.current
vm.uma.mbuf_cluster.stats.current
vm.uma.mbuf.stats.current

THe server on which I have been observing this runs quite a lot of stuff, so,
suspecting some particular process(es) causing this I checked for the culprit.

Turns out the culprit (trigger I should say) is a version of nfsen that uses
threads. My main suspects are the nfcapd or sfcapd daemons which create and
destroy threads.

The funny thing is, I run two concurrent versions of these daemons. The old
ones do *not* leak mbufs, while the recent ones do.

The daemons are supposed to be pretty straightforward, receiving UDP packets in
Netflow/sFlow/IPFix format.

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