Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 05:27:00 -0800 (PST)
From:      Kirill Yelizarov <ykirill@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   NFS client over udp 
Message-ID:  <394966.92530.qm@web120520.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Good Day!

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

Regards,
Kirill


      



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