OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: gpb on February 14, 2020, 08:14:47 pm

Title: MBUF Usage percent
Post by: gpb on February 14, 2020, 08:14:47 pm
Searched for an answer, but couldn't find anything relevant.  Basically, is there an issue when the MBUF gets too large (assuming that would be 100%)?  Does this value (or should it) ever shrink in size?  Mine does not.  I don't remember this being an ever-growing value when I first starting using OPNsense about six months ago, though I could be mistaken.  In any case, any guidance or information would be appreciated. 

Thanks and cheers!
Title: Re: MBUF Usage percent
Post by: siga75 on February 15, 2020, 11:30:26 am
that's a quit big usage, here you have some tips

https://docs.netgate.com/pfsense/en/latest/hardware/tuning-and-troubleshooting-network-cards.html

Title: Re: MBUF Usage percent
Post by: gpb on February 15, 2020, 07:10:10 pm
Thanks for the reply.  Feels like a guessing game.  OK, first thing I checked was the TSO setting even though it's checked "disable" (in interface settings) is defaulting to a 1 in the tunables.  Changed that to zero and rebooted.  Not sure if that setting is relevant.

Reboot (Mbuf values):
Initial: 9626/470086
30 min: 9880/470086
120 min: 11140/470086

Will monitor further, but looks to be same growth rate.  Not sure what a normal value for mbuf's is.  I have less than 40 clients, typical home environment.  Primary LAN, VLAN (guest/iot) and WAN interfaces.  I did have a second physical LAN but removed that months ago.


UPDATE: This problem with leaking mbuf's has now seemingly been resolved with 20.7, after 24 hours, the mbuf count has not increased and sits at 10318 vs substantially higher to where after a couple weeks it would be several hundred thousand (with 1 million allocated).

Again, thanks.