From owner-freebsd-stable@FreeBSD.ORG Fri Feb 26 21:43:55 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 89A35106566C for ; Fri, 26 Feb 2010 21:43:55 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1F88FC0C for ; Fri, 26 Feb 2010 21:43:54 +0000 (UTC) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.14.2/8.14.2) with ESMTP id o1QLhL6o027385; Fri, 26 Feb 2010 22:43:22 +0100 Received: from pmp.uni-hannover.de (theq.pmp.uni-hannover.de [130.75.117.4]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 3DA8024; Fri, 26 Feb 2010 22:43:21 +0100 (CET) Date: Fri, 26 Feb 2010 22:43:20 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Daniel Braniss Message-Id: <20100226224320.8c4259bf.gerrit@pmp.uni-hannover.de> In-Reply-To: References: <4B86F384.3010308@digiware.nl> <2a41acea1002251459v40e8c6ddxd0437decbada4594@mail.gmail.com> <4B8795B1.4020006@digiware.nl> <20100226120339.GB17798@icarus.home.lan> <20100226133138.d47dd080.gerrit@pmp.uni-hannover.de> <20100226134429.041ea6f2.gerrit@pmp.uni-hannover.de> <20100226141754.86ae5a3f.gerrit@pmp.uni-hannover.de> <20100226174021.8feadad9.gerrit@pmp.uni-hannover.de> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.2.26.213629 Cc: stable@freebsd.org, Willem Jan Withagen , Jack Vogel , Jeremy Chadwick Subject: Re: mbuf leakage with nfs/zfs? (was: 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 21:43:55 -0000 On Fri, 26 Feb 2010 22:09:32 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server) : DB> > Furthermore I found this via Google: DB> > . This did not help, I still see the same problem. DB> I'll have to do some packet snooping to check if it's TCP or UDP nfs DB> traffic, since some of the clients are Linux ... I have Linux clients, too. Some use tcp, some udp. DB> > 2264/1321/3585 mbufs in use (current/cache/total) DB> > 1239/1017/2256/65000 mbuf clusters in use (current/cache/total/max) DB> > 1239/809 mbuf+clusters out of packet secondary zone in use DB> > (current/cache) DB> > but the uptime is only 12min so far. In some hours I'll know for DB> > certain if this patch has anything to do with the problem. It did not help. In the meantime the values read 20555/1465/22020 mbufs in use (current/cache/total) 19529/1029/20558/65000 mbuf clusters in use (current/cache/total/max) 19529/823 mbuf+clusters out of packet secondary zone in use (current/cache) I created a little graph here: . y-axis are the total mbuf clusters, x-axis in minutes. The flat part in the upper right corner is a 10min-interval when I had stopped nfsd. DB> at the moment there is not much activity, but if you check the latest DB> plot.ps you will see that the bottom is slowly increasing, so my bet DB> is that there must be some leakage! There certainly is. I wonder when this came in and why it has gone unnoticed so far. Probably not all people serving nfs from zfs see this, or this would have popped up earlier. Maybe the Linux clients are somehow triggering the issue? Or did it start with the import of zvol version 14? Unfortunately I have upgraded my pool, so I cannot easily go back to 8-REL to test this (otoh, I need a stable server quite urgently). cu Gerrit