kern/75277: netstat -m 'mbufs in use' output appears to be incorrect

Justin Erenkrantz justin at erenkrantz.com
Sun Dec 19 12:10:15 PST 2004


>Number:         75277
>Category:       kern
>Synopsis:       netstat -m 'mbufs in use' output appears to be incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 19 20:10:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Justin Erenkrantz
>Release:        5.3-STABLE
>Organization:
Apache Software Foundation
>Environment:
FreeBSD ... 5.3-STABLE FreeBSD 5.3-STABLE #2: Sat Dec 18 14:54:30 PST 2004     root at ...:/usr/obj/usr/src/sys/SMP  i386
>Description:
The 'mbufs in use' parameter from 'netstat -m' appears from to be incorrect (or non-sensical).

% netstat -m
4294965753 mbufs in use
621/25600 mbuf clusters in use (current/max)
0/5/6656 sfbufs in use (current/peak/max)
871 KBytes allocated to network
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
34 calls to protocol drain routines

We are using the em(4) driver with RELENG_5 from Dec 18th.  We upgraded to RELENG_5 from 5.3-RELEASE to catch the recent em(4) updates.
>How-To-Repeat:
netstat -m
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list