Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 06:05:55 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Kirill Yelizarov <ykirill@yahoo.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: NFS client over udp
Message-ID:  <20110218140555.GA58978@icarus.home.lan>
In-Reply-To: <394966.92530.qm@web120520.mail.ne1.yahoo.com>
References:  <394966.92530.qm@web120520.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




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