From owner-freebsd-stable Mon May 6 06:39:05 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA12963 for stable-outgoing; Mon, 6 May 1996 06:39:05 -0700 (PDT) Received: from itsdsv1.enc.edu (itsdsv1.enc.edu [199.93.252.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA12957 Mon, 6 May 1996 06:38:59 -0700 (PDT) Received: from dingo.enc.edu (dingo.enc.edu [199.93.252.229]) by itsdsv1.enc.edu (8.6.12/8.6.9) with SMTP id JAA21172; Mon, 6 May 1996 09:37:35 -0400 Date: Mon, 6 May 1996 09:38:01 -0400 (EDT) From: Charles Owens To: "Matthew N. Dodd" cc: David Greenman , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: MBUFs leaking? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 -------------------------------------------------------------------------