Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 06:09:38 -0800 (PST)
From:      Kirill Yelizarov <ykirill@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: NFS client over udp
Message-ID:  <600887.27323.qm@web120520.mail.ne1.yahoo.com>
In-Reply-To: <20110218140555.GA58978@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Fri, 2/18/11, Jeremy Chadwick <freebsd@jdc.parodius.com> wrote=
:=0A=0A> From: Jeremy Chadwick <freebsd@jdc.parodius.com>=0A> Subject: Re: =
NFS client over udp=0A> To: "Kirill Yelizarov" <ykirill@yahoo.com>=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      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?600887.27323.qm>