rpc.mountd memory leak?
Subsystems (2)
I am using 1.0.12 of nfs-utils (linux/x86). I have a problem in that after a while rpc.mountd starts to eat up gobs of memory (sometimes > 1GB) and usually I am required to stop/restart NFS services to regain memory. I do not have many exported filesystems and very few clients have anything mounted at a given time, so I'm not sure why it would need as much memory so I'm guessing it's some kind of leak. Please let me know what I can do to debug this situation.
thanks
--
Albert W. Hopkins
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 7 lines · On Sunday March 18, [email protected] wrote:
I am using 1.0.12 of nfs-utils (linux/x86). I have a problem in that after a while rpc.mountd starts to eat up gobs of memory (sometimes > 1GB) and usually I am required to stop/restart NFS services to regain memory. I do not have many exported filesystems and very few clients have anything mounted at a given time, so I'm not sure why it would need as much memory so I'm guessing it's some kind of leak. Please let me know what I can do to debug this situation.
Known problem (fixed if you use debian-unstable).
Apparently there is a memory leak in libblkid which mounted now uses.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413661
There is also a smaller leak in mountd.
From: Steinar H. Gunderson <[email protected]>
Date: Fri, 16 Mar 2007 00:26:35 +0000 (+1100)
Subject: Fix memory leak in mountd.
X-Git-Url: http://linux-nfs.org/cgi-bin/gitweb.cgi?p=nfs-utils;a=commitdiff;h=08964495c2a65f6228426e4565a50dae5b75834d
Fix memory leak in mountd.
---
support/export/client.c +1 -0
@@ -329,6 +329,7 @@ add_name(char *old, char *add)strcat (new,"," );strcat (new, cp); } +free (old);return new; }
Maybe I should do a 1.0.13 which makes libblkid optional... NeilBrown
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs