|
From: Laurent W. <lw...@hy...> - 2010-10-29 09:23:35
|
On Thu, 21 Oct 2010 10:58:12 +0800 leon hong <cod...@gm...> wrote: > hello, Michal Hi Leon, > > I try delete some datas in mfsclient, but mfsmaster used ram is not > reduced. I had set the trash time is 0 (mfssettrashtime 0 / usr / mfs /), > what's the reason? I'm pretty sure that mfs doesn't have any memleak. It would have killed a lot of setups that run for months, or even years. I don't have time to dive in the code to see how it works, but don't forget that master only caches in ram metadata, not files contents. So deleting a couple files isn't enough to get back large bunch of ram. Definitely, if your master hardware config isn't strong enough to manage the volume, add ram ! Or, at worst, you could hack some metadata compression with zlib, but I'm really unsure about efficiency (metadata are quite small) and performance impact may be rough. Hope it helps, -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C |