From owner-freebsd-stable@FreeBSD.ORG Fri Feb 18 14:06:06 2011 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 C91F51065693 for ; Fri, 18 Feb 2011 14:06:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 737B58FC1D for ; Fri, 18 Feb 2011 14:06:05 +0000 (UTC) Received: from omta10.westchester.pa.mail.comcast.net ([76.96.62.28]) by qmta08.westchester.pa.mail.comcast.net with comcast id 9S3n1g0060cZkys58S66eV; Fri, 18 Feb 2011 14:06:06 +0000 Received: from koitsu.dyndns.org ([98.248.33.18]) by omta10.westchester.pa.mail.comcast.net with comcast id 9S5x1g00W0PUQVN3WS60dZ; Fri, 18 Feb 2011 14:06:06 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id B23D79B422; Fri, 18 Feb 2011 06:05:55 -0800 (PST) Date: Fri, 18 Feb 2011 06:05:55 -0800 From: Jeremy Chadwick To: Kirill Yelizarov Message-ID: <20110218140555.GA58978@icarus.home.lan> References: <394966.92530.qm@web120520.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <394966.92530.qm@web120520.mail.ne1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: NFS client over udp 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, 18 Feb 2011 14:06:06 -0000 On Fri, Feb 18, 2011 at 05:27:00AM -0800, Kirill Yelizarov wrote: > I have a reproducible memory leak when using nfs client with an old > nfs server using udp protocol. I'm running rsync every hour from a > mounted nfs volume to an ufs local volume. Each time rsync is running > wired memory is increased. Wired memory is rising when rsync is in > getblk or biord state. When rsync is complete memory is not freed and > lately all memory is in active or wired state and system starts > swapping. I didn't see such behavior when client os was RELEASE-8.0. > Then i switched to STABLE-8.1 of late summer and found this leak so i > upgraded to STABLE-8.2Prerelease and got the same leak. vmstat -m > shows nothing big. > > client version: FreeBSD imap1.***.com 8.2-PRERELEASE FreeBSD > 8.2-PRERELEASE #0: Thu Feb 17 13:54:25 MSK 2011 > root@imap1.****.com:/usr/obj/usr/src/sys/IMAP1 amd64 > > i tried different mounting options: 1 - > rw,rsize=32768,wsize=32768,nfsv3,intr,mntudp,rdirplus, > readdirsize=65536,noauto,noexec 2 - rw,nfsv3,mntudp,noexec > > i also tried setting -tso -txcsum -rxcsum for igb network card Is ZFS in use on the system which sees rising wired memory? -- | 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 |