From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 21:38:55 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 8B17137B401 for ; Wed, 30 Apr 2003 21:38:55 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB24643FB1 for ; Wed, 30 Apr 2003 21:38:52 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h414cqf6099495; Wed, 30 Apr 2003 23:38:52 -0500 (CDT) (envelope-from dan) Date: Wed, 30 Apr 2003 23:38:52 -0500 From: Dan Nelson To: "Dave [Hawk-Systems]" Message-ID: <20030501043851.GE90046@dan.emsphone.com> References: <3EB0321A.5020106@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i 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 04:38:55 -0000 In the last episode (Apr 30), Dave [Hawk-Systems] said: > >> 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 You've already maxed out your mbuf clusters, and possibly dropped 27349 packets. Try putting "kern.ipc.nmbclusters=4096" in /boot/loader.conf and rebooting. 1536 seems really low for a web/DNS server. -- Dan Nelson dnelson@allantgroup.com