Re: Bug#413661: libblkid1: leaks memory like crazy
On Tue, Mar 06, 2007 at 04:54:41PM +0100, Steinar H. Gunderson wrote:
> On Tue, Mar 06, 2007 at 10:44:55AM -0500, Theodore Tso wrote:
> > Yikes, what blkid function is rpc.mountd calling all the time which is
> > causing this kind of memory leakage?
>
> blkid_probe_all_new() seems to be the one. It happens at every mount and
> umount, I believe; it's not like it's being called all the time (it leaks
> much faster on busy systems than on almost idle systems, AFAICS), it's that
> it leaks so _much_ memory all the time.
Well, the amount of memory leaked depends on how many device mapper
volumes you have, and how many of them contain unitialized volumes.
And I guess this must have been on a system with a lot of mounts and
unmounts.
- Ted
Reply to: