Date: Mon, 6 May 1996 09:38:01 -0400 (EDT) From: Charles Owens <owensc@enc.edu> To: "Matthew N. Dodd" <winter@jurai.net> Cc: David Greenman <davidg@root.com>, freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: MBUFs leaking? Message-ID: <Pine.FBS.3.93.960506091022.1525C-100000@dingo.enc.edu> In-Reply-To: <Pine.BSI.3.93.960506001206.24623F-100000@sasami>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 May 1996, Matthew N. Dodd wrote:
> On Sun, 5 May 1996, David Greenman wrote:
> > >to obey the options NMBCLUSTERS and only allocates about 180k to
> > >mbufs. I've played with maxusers, NMBCLUSTERS, and others and no effect.
> >
> > I can't explain this. There must be something interacting with this, like a
> > user process limit or something. There haven't been any kernel changes that
> > would affect this.
>
I am seeing the same behavior as well! I also have NMBCLUSTERS set to
4096 but according to 'netstat -m', only 156k is allocated to mbufs!! I
was wondering if I was interpretting it correctly. Any theories?
Here's the netstat output:
36 mbufs in use:
11 mbufs allocated to data
9 mbufs allocated to packet headers
12 mbufs allocated to protocol control blocks
4 mbufs allocated to socket names and addresses
8/76 mbuf clusters in use
156 Kbytes allocated to network (13% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
I'm running 2.1-stable (supped 3/16/96): Here's the top part of the
kernel config:
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
ident POBOX
maxusers 100 # <---- Could this have an effect?
options "NMBCLUSTERS=4096" #Increase number mbuf clusters
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFS #Network Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3
options "SCSI_DELAY=5" #Be pessimistic about Joe SCSI device
options BOUNCE_BUFFERS #include support for DMA bounce buffers
#options UCONSOLE #Allow users to grab the console
options QUOTA
options SYSVSHM
options SYSVSEM
options SYSVMSG
later,
---
-------------------------------------------------------------------------
Charles Owens Email: owensc@enc.edu
"I read somewhere to learn is to
Information Technology Services remember... and I've learned that
Eastern Nazarene College we've all forgot..." - King's X
-------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.FBS.3.93.960506091022.1525C-100000>
