[4947] in Athena Bugs
rpc.rquotad memory leak
daemon@ATHENA.MIT.EDU (John Carr)
Fri May 18 08:20:32 1990
To: bugs@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU, jnrees@ATHENA.MIT.EDU
Date: Fri, 18 May 90 08:20:07 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
rpc.rqoutad malloc()s memory each time it is called, but only free()s
it when it detects a modified /etc/mtab. This is fine for a small
machine with a few dozen quota entries, but loses badly on our NFS
servers. rpc.rquotad grows by 100 K to 300 K per day of server
uptime. When it hits the per-process data limit (in 20 to 60 days),
quota queries start to fail silently.
The same bug appears to be present in the 7.0 quota daemon.