From owner-freebsd-stable@FreeBSD.ORG Fri Feb 18 13:39:56 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 0B10E106566C for ; Fri, 18 Feb 2011 13:39:56 +0000 (UTC) (envelope-from ykirill@yahoo.com) Received: from nm3-vm0.bullet.mail.ne1.yahoo.com (nm3-vm0.bullet.mail.ne1.yahoo.com [98.138.91.55]) by mx1.freebsd.org (Postfix) with SMTP id 92AC68FC0A for ; Fri, 18 Feb 2011 13:39:55 +0000 (UTC) Received: from [98.138.90.53] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 13:27:00 -0000 Received: from [98.138.89.194] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 13:27:00 -0000 Received: from [127.0.0.1] by omp1052.mail.ne1.yahoo.com with NNFMP; 18 Feb 2011 13:27:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 518396.15625.bm@omp1052.mail.ne1.yahoo.com Received: (qmail 94126 invoked by uid 60001); 18 Feb 2011 13:27:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298035620; bh=YKiq9NF6mGbYXuMALnsM/I25KniceoDi9yHrBGk2WNM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=IV+4f3dLsH6kvFbi/b3VyHAcdr39Uv7v+FNnHR6BIxDklCXVskt9RTqNXWL2JPYcr3UxiEkrkmaly8LURubL7uxUkucK4J2DS7GE2rjVkOqLmZq5QBGqU/0En5IsHFCeeBOom3MfhvswAAfmX+hRIjQge/nPqZh/5FFTB5KrK90= 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:MIME-Version:Content-Type; b=1+65klwEt3SdutyxcQNPsOjWXM2p9traGQxlrhEBENfYYd3XVfrEayqj0CBJDUERq9yZB4kHJbVDPB/BwttZqLgzCyzCNOv7XAXvnNZuO5pihkusYuGCNremiJV+EdXJtNKOi8gas22igID7JMIn13d1851H4ZF98U40LxqY/Jk=; Message-ID: <394966.92530.qm@web120520.mail.ne1.yahoo.com> X-YMail-OSG: _hJmmGMVM1ne7mtxu5OkvszfbiNk27JQpZ6Z6WiO8rOVgQi LN0lb88Ikqon7S6W..oiFawNaYtVLwePRwfQuqSqgUx37a2ClO.J2OR7h7Cx IOFwXMNKlRyflZifjp3l7HayiEG8qK7EKPV1kElEHuOs5eBovMUifSNGnXP. AB2WVSosZg26K9mONzQXjjVb5GbJP.nUjLKXyZBNX8_P7FmJMIKhXRzdyPFs k0Eu7LGB3aGPB_r_6adTlDCTXFH.kY3JxPfZZD_.4rkAy0LRxfvSZS4Eu4ym vncXoJxevzvUo Received: from [212.74.229.232] by web120520.mail.ne1.yahoo.com via HTTP; Fri, 18 Feb 2011 05:27:00 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Fri, 18 Feb 2011 05:27:00 -0800 (PST) From: Kirill Yelizarov To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 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 13:39:56 -0000 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