Memory leak in NFSv4?

Fredrik Tolf fredrik at dolda2000.com
Wed Nov 29 19:46:34 EST 2006


On Wed, 2006-11-29 at 14:13 -0500, J. Bruce Fields wrote:
> On Wed, Nov 29, 2006 at 02:43:23PM +0100, Fredrik Tolf wrote:
> > Is there a known memory leak in any part of the NFSv4 code? After my
> > patch to svcgssd recently, I was finally able to switch my clients to
> > NFSv4, and ever since, I've noticed a growing memory load on the NFS
> > server. The free command tells me that I've used almost all physical
> > memory (256 MB) and >60 MB swap, while I can find no user space
> > processes having allocated even close to that amount. At the same time,
> > I find that the rpcsec-gss-krb5 module has a refcount of 555.
> > 
> > For reference, I'm using Gentoo's 2.6.16-r3 kernel on the server,
> > without any NFSv4 patches. Since it seems I'll have to reboot it very
> > soon to relieve the memory load, I'll soon try 2.6.18.
> 
> Are you using krb5i?  Could be this:
> 
> 	http://developer.osdl.org/dev/nfsv4/bugzilla/show_bug.cgi?id=109

I am, and that does seem more likely to be my problem, since it is
size-64 objects that keep piling up rather than size-512.

Thanks for the link! I didn't know there was a bugzilla for NFSv4. I'll
try the patch and ensure that it works.

Fredrik Tolf




More information about the NFSv4 mailing list