From owner-freebsd-hackers Tue Oct 27 16:23:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19723 for freebsd-hackers-outgoing; Tue, 27 Oct 1998 16:23:38 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from elektra.ultra.net (elektra.ultra.net [199.232.56.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19712 for ; Tue, 27 Oct 1998 16:23:36 -0800 (PST) (envelope-from syang@directhit.com) Received: from moe.directhit.com ([10.4.18.2]) by elektra.ultra.net (8.8.8/ult.n14767) with ESMTP id TAA13414; Tue, 27 Oct 1998 19:22:27 -0500 (EST) Received: by MOE with Internet Mail Service (5.0.1459.74) id ; Tue, 27 Oct 1998 19:21:47 -0500 Message-ID: <839A86AB6CE4D111A52200104B938D4308081B@MOE> From: Steven Yang To: "'Open Systems Networking'" Cc: "'freebsd-hackers@freebsd.org'" Subject: RE: FW: Can't get rid of my mbufs. Date: Tue, 27 Oct 1998 19:21:46 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1459.74) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Thanks, Steven > -----Original Message----- > From: Open Systems Networking [SMTP:opsys@mail.webspan.net] > Sent: Tuesday, October 27, 1998 7:17 PM > To: Steven Yang > Subject: Re: FW: Can't get rid of my mbufs. > > > Steven, > > MBUF's do not de-allocate. Once there allocated there allocated, You > only > generate more mbufs when the system needs them if enough have not > already > been allocated. What you need to do is increase maxusers in your > kernel > config to something higher than what it is like 512 or 1024. > > netstat -m shows mbuf useage as im sure your aware of. > You can also add the kernel config option: > options NMBCLUSTERS=10000 > > or something very high. This will give you more room and longer > periods of > time to run your tests. You will just have to keep increasing > nmbclusters > or maxusers until you find the right ammount that lets you perform > your > tests. > > Hope this helps you some. > > Chris > > -- > > "You both seem to be ignoring the fact that the networking market is > driven by so-called 'IT professionals' these days, most of whom can't > tell the difference between an ARP and a carp." --Wes Peters > > ===================================| Open Systems FreeBSD Consulting. > FreeBSD 3.0 is available now! | Phone: (402)573-9124 / ICQ # > 20016186 > -----------------------------------| 3335 N. 103 Plaza, Omaha, NE > 68134 > FreeBSD: The power to serve! | E-Mail: opsys@open-systems.net > http://www.freebsd.org | Consulting, Network Engineering, > Security > ===================================| http://open-systems.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message