From owner-freebsd-stable@FreeBSD.ORG Fri Feb 18 14:09:40 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 DB671106566C for ; Fri, 18 Feb 2011 14:09:39 +0000 (UTC) (envelope-from ykirill@yahoo.com) Received: from nm6-vm0.bullet.mail.ne1.yahoo.com (nm6-vm0.bullet.mail.ne1.yahoo.com [98.138.91.54]) by mx1.freebsd.org (Postfix) with SMTP id 8A7388FC16 for ; Fri, 18 Feb 2011 14:09:39 +0000 (UTC) Received: from [98.138.90.50] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 14:09:38 -0000 Received: from [98.138.89.163] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 14:09:38 -0000 Received: from [127.0.0.1] by omp1019.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 14:09:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 705159.38191.bm@omp1019.mail.ne1.yahoo.com Received: (qmail 27804 invoked by uid 60001); 18 Feb 2011 14:09:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298038178; bh=xp2Va2XUNaVoUuu5MaDlL+0poJoNX4YF09oXHZxPCRc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Z72Vw+0T8WCQloyRMk+KFS7Phe/rolJ5rSO9qcixkiY2sBoiNnFKEis8u1Cd1tvmH5iYmDUK/tivmW8MWqLk3JGVjfXbFU4X4n//E4PB0hsm7k6h2GACIZ5crVXDvm1eFQD9XlPWM3FwTo0VsTv/1FQnPwHSd4bXaa+m8MguLys= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=juWymBOhrC7c4DlgaNy1eR9oPEfee/rBGQGx0k5OAiH7hHnLSvsm4VLc3RQArbaJZfPEHuuTssn9e3HeosLOns4+htyW3sTSrKmjxpKyuaaaqQLWESsrGAcjVZnDAJQFcT//plhgJMLThDVmyZgxgCjFpoFCiudlGTts0kMvBG8=; Message-ID: <600887.27323.qm@web120520.mail.ne1.yahoo.com> X-YMail-OSG: cfnsuwQVM1k.0giWR2Xxst2km.mbLmpGkZixVLB1c5pQwmF 6RTwTQF2_ZS3xMaG2B0wfHqEQ1jA53ppGvbClRi5zPYyM_x0iGSLTH51vlBD jdeEYe1AdDIZ4VDlNqwadIH7NDav0oC5n5OoD.A85D5Lbv3gxf6zpiktn2fd 0BtJj1kqHDeInVQlrLCymbw4Ys3RmB7MweSe.x0OShrM_BzD1iZF053lEI8D _XtG75ZiY4jqNMjYZKEh1OoS62mvngbXB06xmfwBh84qHqLNp4pDO7ymPn7o ZrP_gsSV_TE09Zg6JWBLF Received: from [212.74.229.232] by web120520.mail.ne1.yahoo.com via HTTP; Fri, 18 Feb 2011 06:09:38 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Fri, 18 Feb 2011 06:09:38 -0800 (PST) From: Kirill Yelizarov To: freebsd-stable@freebsd.org In-Reply-To: <20110218140555.GA58978@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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:09:40 -0000 =0A=0A--- On Fri, 2/18/11, Jeremy Chadwick wrote= :=0A=0A> From: Jeremy Chadwick =0A> Subject: Re: = NFS client over udp=0A> To: "Kirill Yelizarov" =0A> Cc: = freebsd-stable@freebsd.org=0A> Date: Friday, February 18, 2011, 5:05 PM=0A>= On Fri, Feb 18, 2011 at 05:27:00AM=0A> -0800, Kirill Yelizarov wrote:=0A> = > I have a reproducible memory leak when using nfs=0A> client with an old= =0A> > nfs server using udp protocol. I'm running rsync every=0A> hour from= a=0A> > mounted nfs volume to an ufs local volume. Each time=0A> rsync is = running=0A> > wired memory is increased. Wired memory is rising when=0A> rs= ync is in=0A> > getblk or biord state. When rsync is complete memory=0A> is= not freed and=0A> > lately all memory is in active or wired state and=0A> = system starts=0A> > swapping. I didn't see such behavior when client os=0A>= was RELEASE-8.0.=0A> > Then i switched to STABLE-8.1 of late summer and fo= und=0A> this leak so i=0A> > upgraded to STABLE-8.2Prerelease and got the s= ame=0A> leak. vmstat -m=0A> > shows nothing big. =0A> > =0A> > client versi= on: FreeBSD imap1.***.com 8.2-PRERELEASE=0A> FreeBSD=0A> > 8.2-PRERELEASE #= 0: Thu Feb 17 13:54:25 MSK 2011=0A> > root@imap1.****.com:/usr/obj/usr/src/= sys/IMAP1=A0=0A> amd64=0A> > =0A> > i tried different mounting options:=A0 = =A0=0A> =A0=A0=A01 -=0A> >=0A> rw,rsize=3D32768,wsize=3D32768,nfsv3,intr,mn= tudp,rdirplus,=0A> > readdirsize=3D65536,noauto,noexec 2 -=0A> rw,nfsv3,mnt= udp,noexec=0A> > =0A> > i also tried setting -tso -txcsum -rxcsum for igb= =0A> network card=0A> =0A> Is ZFS in use on the system which sees rising wi= red=0A> memory?=0ANo, ufs only. =0A> =0A> -- =0A> | Jeremy Chadwick=A0 =A0 = =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0=A0=A0jd= c@parodius.com=0A> |=0A> | Parodius Networking=A0 =A0 =A0 =A0 =A0=0A> =A0 = =A0 =A0 =A0 =A0 =A0=A0=A0http://www.parodius.com/ |=0A> | UNIX Systems Admi= nistrator=A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 Mountain View, CA, USA |= =0A> | Making life hard for others since 1977.=A0 =A0=0A> =A0 =A0 =A0 =A0 = =A0=A0=A0PGP 4BD6C0CB=0A> |=0A> =0A> =0A=0A=0A