Date: Tue, 27 Oct 1998 20:54:01 -0800 From: Mike Smith <mike@smith.net.au> To: dg@root.com Cc: Mike Smith <mike@smith.net.au>, Steven Yang <syang@directhit.com>, "'Open Systems Networking'" <opsys@mail.webspan.net>, "'freebsd-hackers@freebsd.org'" <freebsd-hackers@FreeBSD.ORG> Subject: Re: FW: Can't get rid of my mbufs. Message-ID: <199810280454.UAA00348@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 27 Oct 1998 18:55:36 PST." <199810280255.SAA06432@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >> Thanks for the info. One question remains. Suppose netstat -m tells me > >> that 7900/8050 mbuf clusters are in use. Now suppose I stop all of the > >> important processes and let the machine stay idle for 2 hours. Why does > >> netstat -m still tell me that 7900/8050 mbuf clusters are in use? > >> Basically, I'd wish it would say something like 99/8050 mbuf clusters in > >> use instead. I already have MAXUSERS set to 512. > > > >You have an mbuf leak somewhere, where mbufs are being allocated to > >contain data but never being freed. > > We need more info before it can be detemined that there is a "leak". The > machine is trying to do more than 8 million connections/day, and there are > special considerations when trying to do that. 10000 mbuf clusters almost > certainly will not be enough. He may not be able to configure enough, in > fact, without changing the kernel VM layout. If the machine is left idle for 2 hours, and presumably from this we would expect that all open connections were closed, there is nothing that I can think of that could account for nearly eight thousand mbufs allocated for data other than a pile in the bottom of the bit bucket. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810280454.UAA00348>