Memory leak in NFSv4?

Fredrik Tolf fredrik at dolda2000.com
Mon Dec 4 10:30:53 EST 2006


On Mon, 2006-12-04 at 09:32 -0500, J. Bruce Fields wrote:
> On Fri, Dec 01, 2006 at 01:17:57AM +0100, Fredrik Tolf wrote:
> > Indeed, it does seem to have helped the memory leak go away. However,
> > the refcount leak for rpcsec-gss-krb5 is still left. I suspect that it
> > increases every time a client re-establishes a GSS context, but I
> > haven't been able to test. Please tell me if there's any way I can track
> > it down.
> 
> Does the reference count go back down if you unmount the filesystem in
> question?

Do you mean unmounting it from *all* clients, or just one? I can confirm
that it doesn't go back down if I unmount it from just one client, at
least (I just tried). It is, by the way, up to 334 right now.

I haven't tried unmounting it from all clients with the 2.6.18 kernel,
and doing that would be quite troublesome. However, I did try it once
with the 2.6.16 kernel, and it did not bring the refcount down (at that
time, it was up to over 500).

Fredrik Tolf




More information about the NFSv4 mailing list