kern/165903: mbuf leak

Olivier Cochard-Labbé olivier at cochard.me
Fri Apr 12 11:46:13 UTC 2013


Hi,

PR closed too soon ?

All of our firewalls just migrated to 9.0 firewall (carp + pfsync) hit
memory leak problem.

Here is some output:

Mem: 17M Active, 15M Inact, 1709M Wired, 1392K Cache, 143M Buf, 229M Free

=> 1709M Wired just for a firewall ?

On other machine:

# netstat -m
2188812/1278/2190090 mbufs in use (current/cache/total)
6132/1762/7894/25600 mbuf clusters in use (current/cache/total/max)
6132/1036 mbuf+clusters out of packet secondary zone in use (current/cache)
0/54/54/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
559467K/4059K/563526K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines


Regards,

Olivier


More information about the freebsd-net mailing list