Date: Tue, 12 Sep 2000 17:37:27 -0700 (PDT) From: col@pobox.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/21240: mbufs allocated to data is huge number in netstat -m Message-ID: <20000913003727.5325037B423@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 21240
>Category: kern
>Synopsis: mbufs allocated to data is huge number in netstat -m
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 12 17:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Chad Oleary
>Release: 4.1-STABLE
>Organization:
>Environment:
FreeBSD me.some.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Sep 12 16:38:46 EDT 2000 me@me.some.com:/usr/obj/usr/src/sys/KERN i386
>Description:
After cvsup'ing from 4.1-RELEASE to 4.1-STABLE, I'm getting some strange
output from netstat -m
me# 4294789544/432/16384 mbufs in use (current/peak/max):
4294789540 mbufs allocated to data
4 mbufs allocated to packet headers
297/314/4096 mbuf clusters in use (current/peak/max)
736 Kbytes allocated to network (5440% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
I have found problem report kern/19809. This looks identical to the situation
there. However, I have only config'd 4K of mbufs. Here's some sysctl stuff
if it helps..
me# sysctl kern | grep mb
kern.ipc.nmbclusters: 4096
kern.ipc.mbuf_wait: 32
kern.ipc.mbtypes: 178151 4294789573 4 0 0 0 0 0 0 0 0 0 0 0 0 0
kern.ipc.nmbufs: 16384
I've also set maxusers to 256.
>How-To-Repeat:
Not sure if a different machine would do the same, yet, but add NMBCLUSERS = 4096,
change maxusers to 256 in GENERIC, build, reboot. Try netstat -m.
>Fix:
not sure, yet.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000913003727.5325037B423>
