tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Checking mbuf cluster usage



On Tue, Apr 12, 2022 at 12:18:02PM +0200, Edgar Fuß wrote:
> Hello.
> 
> I just had a network hickup on our gateway, probably due to "mclpool limit 
> reached; increase kern.mbuf.nmbclusters". I should probably monitor that, 
> so I get warned before the limit is reached and the gateway stops functioning.
> 
> But how do I do that? netstat -m reports mbufs allocated, while 
> kern.mbuf.nmbclusters is about, well, mbuf clusters. How do these values 
> corelate?

netstat -m is the total mbufs, not only mbuf clusters.
vmstat -m should tell you (check mclpl)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index