From owner-freebsd-stable@FreeBSD.ORG Fri Feb 26 12:16:51 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75FCD1065675 for ; Fri, 26 Feb 2010 12:16:51 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 5D4BE8FC28 for ; Fri, 26 Feb 2010 12:16:51 +0000 (UTC) Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta02.emeryville.ca.mail.comcast.net with comcast id mbuS1d0061u4NiLA2c3h8f; Fri, 26 Feb 2010 12:03:41 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta21.emeryville.ca.mail.comcast.net with comcast id mc3g1d0083S48mS8hc3g7u; Fri, 26 Feb 2010 12:03:41 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8D7EE1E301A; Fri, 26 Feb 2010 04:03:39 -0800 (PST) Date: Fri, 26 Feb 2010 04:03:39 -0800 From: Jeremy Chadwick To: Willem Jan Withagen Message-ID: <20100226120339.GB17798@icarus.home.lan> References: <4B86F384.3010308@digiware.nl> <2a41acea1002251459v40e8c6ddxd0437decbada4594@mail.gmail.com> <4B8795B1.4020006@digiware.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B8795B1.4020006@digiware.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: stable@freebsd.org, Jack Vogel Subject: Re: em0 freezes on ZFS server 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: Fri, 26 Feb 2010 12:16:51 -0000 On Fri, Feb 26, 2010 at 10:34:41AM +0100, Willem Jan Withagen wrote: > This is wat netstat -m told me when it refused to revive em0: Below are the netstat -m counters/lines of concern: > 24980/2087/27067 mbufs in use (current/cache/total) > 24530/1070/25600/25600 mbuf clusters in use (current/cache/total/max) > 55305K/2801K/58106K bytes allocated to network (current/cache/total) Note how close the "current" value is to that of "total". I'm not too surprised you're seeing what you are as a result of this. What on earth is this machine doing at all times? Comparatively, here's some of our servers' netstat -m stats. All these boxes do nightly backups to a centralised box on a private gigE network. All boxes use em(4). RELENG_7 amd64 2010/01/09 -- primary HTTP, pri DNS, SSH server + ZFS 514/1931/2445 mbufs in use (current/cache/total) 512/540/1052/25600 mbuf clusters in use (current/cache/total/max) 1152K/6394K/7547K bytes allocated to network (current/cache/total) RELENG_7 amd64 2010/01/11 -- secondary DNS, MySQL, dev box + ZFS 514/1151/1665 mbufs in use (current/cache/total) 512/504/1016/25600 mbuf clusters in use (current/cache/total/max) 1152K/2203K/3356K bytes allocated to network (current/cache/total) RELENG_7 i386 2008/04/19 -- secondary HTTP, SSH server, heavy memory I/O 531/624/1155 mbufs in use (current/cache/total) 512/552/1064/25600 mbuf clusters in use (current/cache/total/max) 1156K/2408K/3564K bytes allocated to network (current/cache/total) RELENG_8 amd64 2010/02/02 -- central backups + NFS+ZFS-based filer 1572/3423/4995 mbufs in use (current/cache/total) 1563/3065/4628/25600 mbuf clusters in use (current/cache/total/max) 3519K/7401K/10920K bytes allocated to network (current/cache/total) -- | 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 |