The rpc.mountd in nfs-utils version 1.0.12 leaks memory like a sieve. On my nfs server (2 clients doing ... not very much) it would end up leaking around 1GB over 24h-48h. This is apparently caused by a memory leak in e2fsprogs (which rpc.mountd uses as a library starting with 1.0.12). See http://article.gmane.org/gmane.linux.nfs/12887 for official confirmation from the upstream maintainer. :) Two patches are needed to fix the leak, one against sys-fs/e2fsprogs and one against net-fs/nfs-utils -- both are referred to by the above mentioned post, but I'll attach them to this bug shortly (for your convenience). Cheers,
Created attachment 114208 [details, diff] nfs-utils-1.0.12-memleak.patch
Created attachment 114209 [details, diff] e2fsprogs-1.39-memleak.patch
*** This bug has been marked as a duplicate of bug 171844 ***
nfs-utils-1.0.12-r1 now in the tree with that mountd fix, cheers
Sorry about the semi-duplicate (don't know why i didn't think to search for e2fsprogs :/), but #171844 doesn't seem to address the leak in rpc.mountd itself. This second leak is not nearly as serious, but it's still a leak and as such it should be patched. Cheers,
Nevermind that. Didn't notice vapier's comment until it was too late :). Thanks.