Current-Users archive

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

Re: MBuf clusters - what uses them?



On Mon, 7 Apr 2014, Manuel Bouyer wrote:

I found netstat -m to not be so reliable as well here.

I'm tracking down a mbuf leak (in netbsd-6) and so far I found
that eventually IFQ_ENQUEUE() could be called without KERNEL_LOCK held,
while the queue is only protected by a splfoo() call.
one is from ipfilter, and one from carp(4).
Are you using one of theses ?

No. No ipfilter, no carp.

I _do_ have RAIDFRAME with two RAID-1 (mirror) sets.

You could also build a kernel with
options MBUFTRACE
and look at netstat -mssv (this one seems reliable).
This helped me spot these problems.

Thanks - I will this soon.


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index