Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 21:04:53 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Kai Kockro <kkockro@web.de>
Cc:        bug-followup@freebsd.org, freebsd-fs@freebsd.org, Daniel Braniss <danny@cs.huji.ac.il>
Subject:   Re: kern/144330: [nfs] mbuf leakage in nfsd with zfs
Message-ID:  <Pine.GSO.4.63.1003242101400.4451@muncher.cs.uoguelph.ca>
In-Reply-To: <201003240739.04994.kkockro@web.de>
References:  <201003171120.o2HBK3CV082081@freefall.freebsd.org> <E1NtzZK-000O4D-Bh@kabab.cs.huji.ac.il> <Pine.GSO.4.63.1003230930490.26737@muncher.cs.uoguelph.ca> <201003240739.04994.kkockro@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 24 Mar 2010, Kai Kockro wrote:

> Hi,
>
> after 3 days with the first patch ( FreeBSD 8-STABLE AMD64, old nfsd ):
>
> netstat -m
> 5732/10528/16260 mbufs in use (current/cache/total)
> 4825/10131/14956/262144 mbuf clusters in use (current/cache/total/max)
>
> It looks very fine. I'll patch with the final corrections and then test again.
>

Sounds good. Thanks for letting us know.

> But why i have the same issues? I dont use UDP connects, only TCP?!
>
Hmm, from what I can see, the replay cache is used for both UDP and
TCP in the regular NFS server. If I'm correct on that, any retry of
an RPC over TCP could cause the leak. (Retries of an RPC over TCP
are infrequent, with the likelyhood differing between clients. I
can only guess that your TCP clients do retries?)

rick




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