NFS client over udp

Jeremy Chadwick freebsd at jdc.parodius.com
Fri Feb 18 14:06:06 UTC 2011


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 at 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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-stable mailing list