Perhaps another way to do this is to have several bg processes happen and
see if the concurrency makes it any order of magnitude worse?
Systems Architect, CCNA
> -----Original Message-----
> From: Steve Lord [mailto:lord@xxxxxxx]
> Sent: Tuesday, September 11, 2001 12:35 PM
> To: Harrison Xing
> Cc: linux-xfs@xxxxxxxxxxx
> Subject: Re: Memory leak in XFS 1.0.1 ? Just mount and umount
> > Hi,
> > When I mount and umount XFS heavily it seems that there are
> memory leaks.
> > After about a day, the machine becomes quite slow and there
> is little free
> > memory left,
> > the buffers and cached memory are almost exhausted.
> > for((i=1;i<10,000,000;i++));do
> > mount -t xfs /dev/hda6 /mnt/xfs
> > umount /mnt/xfs
> > done
> > I use the 2.4.5 kernel with XFS 1.0.1 release.
> There does appear to be a slow leak in the mount/unmount
> path, I have had the
> loop running for an hour or so now, and memory does appear to
> be going
> somewhere. This is with a tree from yesterday's cvs tree.