From owner-freebsd-stable Sun Sep 8 7:28: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A36AB37B401; Sun, 8 Sep 2002 07:28:01 -0700 (PDT) Received: from hotmail.com (oe53.pav2.hotmail.com [64.4.36.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA2A43E6A; Sun, 8 Sep 2002 07:28:00 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 8 Sep 2002 07:28:00 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Wahyu Hidayat" , , References: <20020906013248.24028.qmail@web40007.mail.yahoo.com> Subject: Re: running out of mbuf Date: Sun, 8 Sep 2002 08:11:57 +0530 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 08 Sep 2002 14:28:00.0396 (UTC) FILETIME=[EEFFC4C0:01C25743] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We had the same problem changed the NMBCLUSTERS value in the kernel config file and recompiled the kernel. That fixed it. options NMBCLUSTERS=4096 ----- Original Message ----- From: "Wahyu Hidayat" To: ; Sent: Friday, September 06, 2002 07:02 AM Subject: running out of mbuf > Hello, > > Firstly I am not a member of this mailling-list, so > please CC to me, or if this is not the right forum, > give me a direction where I could post it. > > I have a machine running squid cache-server and apache > to answer squidGuard redirectors. When running under > heavy load it complains about mbuf: > > Sep 6 07:42:40 cache2 squid[5735]: aclMatchProxyAuth: > user 'imon' tries to use multple IP addresses! > Sep 6 07:43:22 cache2 squid[5735]: > aclDecodeProxyAuth: Disallowing empty passwo > rd,user is '' > Sep 6 07:43:26 cache2 last message repeated 2 times > Sep 6 07:43:50 cache2 /kernel: looutput: mbuf > allocation failed > Sep 6 07:44:43 cache2 squid[5735]: > aclDecodeProxyAuth: Unsupported proxy-auth sheme, > 'owqeko=f|xjbd' > > I thought I've configured my kernel with enough mbuf, > but even one-half have not used yet. My netstat -m: > > 22070/22544/81920 mbufs in use (current/peak/max): > 20490 mbufs allocated to data > 1580 mbufs allocated to packet headers > 20462/20480/20480 mbuf clusters in use > (current/peak/max) > 46596 Kbytes allocated to network (7% of mb_map in > use) > 87932 requests for memory denied > 274 requests for memory delayed > 0 calls to protocol drain routines > > This problem bothers me, as our http traffic comes > from this server, and I have to reconfigure squid > processes (the same as restarting I think) to free up > mbuf. > > If you have any idea how to solve this please let me > know. Any help of reference would be greatly > appreciated. > > Best regards. > -why- > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > 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-stable" in the body of the message