Description of problem:
rpc.mountd leaks memory when using a netgroup in /etc/exports.
On one system it leaked about 1MB every 7 minutes which caused
the system to kill the process about once every 2 weeks or so
when it gets past 2GB of memory usage.
No memory leak is detected if the netgroup is replaced by a listing
of hosts or ip ranges, rpc.mountd stays around 2.5 MB memory usage.
I think the problem is a documented one in the innetgr function in glibc
and fixed in a rawhide/FC5 release :
But it would be REALLY nice to roll a FC4 update for glibc with this
small patch in. It would appear to affect all applications that access
netgroup for host permissions
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a valid /etc/netgroup file
2.Add the netgroup to an NFS export in /etc/exports
3.Start NFS server and try lots of mounts, unmounts, failed mounts, etc
rpc.mountd memory usage grows unnecessarily
rpc.mountd should not grow more than to a few megabytes or memory usage
Should be fixed in glibc-2.3.6-3 in FC4 testing updates then.