From owner-freebsd-stable@FreeBSD.ORG Sat Feb 27 14:15:57 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 307C3106566B for ; Sat, 27 Feb 2010 14:15:57 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (mail.ip6.digiware.nl [IPv6:2001:4cb8:1:106::2]) by mx1.freebsd.org (Postfix) with ESMTP id B1D098FC08 for ; Sat, 27 Feb 2010 14:15:56 +0000 (UTC) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 0734315342F; Sat, 27 Feb 2010 15:15:54 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fpnaPXPtUUPU; Sat, 27 Feb 2010 15:15:51 +0100 (CET) Received: from [127.0.0.1] (unknown [192.168.10.212]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id BDE46153434; Sat, 27 Feb 2010 15:15:51 +0100 (CET) Message-ID: <4B892918.4080701@digiware.nl> Date: Sat, 27 Feb 2010 15:15:52 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Gerrit_K=FChn?= 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> <20100226224320.8c4259bf.gerrit@pmp.uni-hannover.de> <4B884757.9040001@digiware.nl> <20100227080220.ac6a2e4d.gerrit@pmp.uni-hannover.de> In-Reply-To: <20100227080220.ac6a2e4d.gerrit@pmp.uni-hannover.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: stable@freebsd.org, Jeremy Chadwick Subject: Re: mbuf leakage with nfs/zfs? 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: Sat, 27 Feb 2010 14:15:57 -0000 On 27-2-2010 8:02, Gerrit Kühn wrote: > On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen > wrote about Re: mbuf leakage with nfs/zfs?: > > WJW> Mine are now: > WJW> 41533/2402/43935 mbufs in use (current/cache/total) > WJW> 41454/1572/43026/262144 mbuf clusters in use (current/cache/total/max) > WJW> 39241/823 mbuf+clusters out of packet secondary zone in use > WJW> (current/cache) > > 81492/2613/84105 mbufs in use (current/cache/total) > 80467/2235/82702/128000 mbuf clusters in use (current/cache/total/max) > 80458/822 mbuf+clusters out of packet secondary zone in use (current/cache) Over the night I only had rsync and FreeBSD nfs traffic. 45337/2828/48165 mbufs in use (current/cache/total) 44708/1902/46610/262144 mbuf clusters in use (current/cache/total/max) 44040/888 mbuf+clusters out of packet secondary zone in use (current/cache) I only have one Linux box runing Kubuntu 8.10, mounted UDP: (rw,udp,nolock,rsize=32768,wsize=32768,intr) Now runing ls -R on the remote file system only lets the mbufs slightly decrease.... But running something like 'find openembedded | xarg cat > /dev/null' Shows a steadily growing number of mbufs, and letting the system sit for 5 min. doesn't decrease the used mbufs 48438/3672/52110 mbufs in use (current/cache/total) 47757/3461/51218/262144 mbuf clusters in use (current/cache/total/max) 47406/850 mbuf+clusters out of packet secondary zone in use (current/cache) Doing this on another FreeBSD 7.2 client runs the mbufs up(max inc about 2000 mbuf), but within a few secs after the last file was fetched, the mbuf tab runs down to around to what is was before the command. Not shure where to go from here? I'm certainly not fluent enough in NFS to start interpreting a wireshark trace. --WjW