From owner-freebsd-stable@FreeBSD.ORG Thu May 27 15:48:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 294231065676 for ; Thu, 27 May 2010 15:48:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id CD1AD8FC14 for ; Thu, 27 May 2010 15:48:43 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta04.westchester.pa.mail.comcast.net with comcast id Nbrb1e0070QuhwU54fokun; Thu, 27 May 2010 15:48:44 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta02.westchester.pa.mail.comcast.net with comcast id Nfoi1e0063S48mS3Nfoi52; Thu, 27 May 2010 15:48:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id AEADC9B418; Thu, 27 May 2010 08:48:40 -0700 (PDT) Date: Thu, 27 May 2010 08:48:40 -0700 From: Jeremy Chadwick To: Olaf Seibert Message-ID: <20100527154840.GA43710@icarus.home.lan> References: <20100527131310.GS883@twoquid.cs.ru.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100527131310.GS883@twoquid.cs.ru.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: nfe0 loses network connectivity (8.0-RELEASE-p2) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 15:48:44 -0000 On Thu, May 27, 2010 at 03:13:10PM +0200, Olaf Seibert wrote: > Is there a way to increase the maximum number of mbufs, or better yet, > limit the use by whatever is using them too much? Regarding your first question: I believe kern.ipc.nmbclusters controls what you want. This is a loader.conf tunable so you'll need to reboot. Network buffer tuning is documented, Section 11.13.2. Please read this before adjusting the tunable. http://www.freebsd.org/doc/en/books/handbook/configtuning-kernel-limits.html It would probably be more effective in the long run to find out why your mbuf count is so high and determine if said situation is caused by a problem with the NIC driver, or if there's something going on on your machine that's causing it. Regarding your 2nd question: not to my knowledge. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |