From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 17:15:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F2A37B401 for ; Wed, 30 Apr 2003 17:15:31 -0700 (PDT) Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E5CC43F93 for ; Wed, 30 Apr 2003 17:15:30 -0700 (PDT) (envelope-from dave@hawk-systems.com) Received: (qmail 81383 invoked from network); 1 May 2003 00:15:28 -0000 Received: from unknown (HELO ws1) (24.157.103.51) by web1.nexusinternetsolutions.net with SMTP; 1 May 2003 00:15:28 -0000 From: "Dave [Hawk-Systems]" To: "Bill Moran" Date: Wed, 30 Apr 2003 20:15:27 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <3EB0321A.5020106@potentialtech.com> Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: kernel: looutput: mbuf allocation failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 00:15:31 -0000 >> Recently had a box go dark for a few minutes... pulled the >following from the >> logs shortly after the box revived itself. >> >> /kernel: looutput: mbuf allocation failed >> >> been a while since we have touched the kernel config for this server... any >> pointers as to what settings we should lookat or touch to prevent >this nastiness >> from occuring again? > >What does 'netstat -m' have to say? nx1# netstat -m 1045/1856/6144 mbufs in use (current/peak/max): 977 mbufs allocated to data 68 mbufs allocated to packet headers 970/1536/1536 mbuf clusters in use (current/peak/max) 3536 Kbytes allocated to network (76% of mb_map in use) 27349 requests for memory denied 14 requests for memory delayed 0 calls to protocol drain routines this after another such "crash"... have to say the server is recovering beautifully from them. I am wondering if this is a massive DNS query from one of the other servers since both our DNS servers appear to get his while one of the web servers is pumping out data at 70mbps (captured with MRTG). Am checking that server for any formmail.pl scripts that may be spam gateways since disabling qmail on the web server seems to stop the bursts and subsequent crashes. >According to that, you may want to tweak the number of mbufs available >via sysctl. If you search the list archives you'll find many conversations >about this. again, the above is just after a burst/crash, though the server is a primary dns/authentication and mail server. Dave