Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2024 06:12:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 276870] mbuf cluster leak with on pf+bird2 bgp routers
Message-ID:  <bug-276870-16861-Z0zQO0KYrq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276870-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276870-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276870

--- 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 grow=
ing
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, s=
o,
suspecting some particular process(es) causing this I checked for the culpr=
it.

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 packet=
s in
Netflow/sFlow/IPFix format.

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



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