From owner-freebsd-questions Sat Dec 9 17:26: 5 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 17:26:02 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id BB07F37B400 for ; Sat, 9 Dec 2000 17:26:01 -0800 (PST) Received: from pop2.pacific.net.sg (pop2.pacific.net.sg [203.120.90.86]) by sunny.pacific.net.sg with ESMTP id eBA1Puo16334; Sun, 10 Dec 2000 09:25:56 +0800 (SGT) Received: from gchang (spoff250.pacific.net.sg [203.120.94.250]) by pop2.pacific.net.sg with SMTP id JAA09654; Sun, 10 Dec 2000 09:25:51 +0800 (SGT) Message-ID: <005301c06247$bfc47fe0$fa5e78cb@gchang> From: "James Lim" To: "David Schwartz" , References: Subject: Re: Question about mb_map Date: Sun, 10 Dec 2000 09:22:59 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, Any errors output from ur console? You might wanna increase your maxusers and nmbcluster in ur kernel config file. Maxusers 512 nmbclusters 50000 check out LINT for more information Hope this Helps James Lim Technical Support Executive Pacific Internet Limited 89 Science Park Drive #02-05/06 The Rutherford Singapore 118261 Finger evilfry@sg.freebsd.org for PGP key. ----- Original Message ----- From: "David Schwartz" To: Sent: Sunday, December 10, 2000 9:20 AM Subject: Question about mb_map > > I have a machine (4.2-STABLE, December 1) with lots of free RAM and a > loadaverage of zero. It's maintaining a few thousand connections, and > network performance has dropped to basically zero. A 'netstat -m' shows: > > 1739/18432/18432 mbufs in use (current/peak/max): > 323 mbufs allocated to data > 1416 mbufs allocated to packet headers > 311/4608/4608 mbuf clusters in use (current/peak/max) > 13824 Kbytes allocated to network (100% of mb_map in use) > 2414666 requests for memory denied > 293 requests for memory delayed > 1062 calls to protocol drain routines > > So I've hit the mbuf limit and the mbuf cluser limit at some point in the > past. But nothing appears to be the problem now. The counts for memory > requests denied or delayed are not increasing. For example, here's another > 'netstat -m': > > 1860/18432/18432 mbufs in use (current/peak/max): > 421 mbufs allocated to data > 1439 mbufs allocated to packet headers > 384/4608/4608 mbuf clusters in use (current/peak/max) > 13824 Kbytes allocated to network (100% of mb_map in use) > 2414666 requests for memory denied > 293 requests for memory delayed > 1062 calls to protocol drain routines > > Any suggestions? Network performance is near-zero now. > > DS > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message