Hi Roland, On Sat, Jan 2, 2010 at 3:09 PM, Roland Rabben <roland at jotta.no> wrote: > I still see a lot of memory usage after i disabled the performance/io-cache > translator on my clients. > What operations do you run which cause high memory usage of glusterfs? Are there a specific set of operation(s) which cause high memory usage? If so, what are they? How much time does it take to make glusterfs consume lots of memory? > > Can this be a FUSE problem? Is there a way to limit the amount of cache or > memory FUSE uses? > > If I need to upgrade, can I use 2.0.8 client with a 2.0.6 server? > yes. > > Regards > Roland > > 2010/1/1 Roland Rabben <roland at jotta.no> > > I have seen 3.0 out there, but as you know, upgrading from 2.0.6 to 3.0 >> requires downtime, and I want to make sure upgrading is painless before I go >> ahead and schedule a maintenance period. >> >> From what I have read in the mailing-list there are many reasons to >> upgrade from 2.0.6. I guess I 2.0.8 or 3.0 is next. >> >> I have now removed the performance/io-cache translator form my client >> config, and memory usage seems to be much lower. I need to test a day or two >> to verify that it doesn't grow out of control. >> >> Regards >> Roland >> >> 2010/1/1 Tejas N. Bhise <tejas at gluster.com> >> >> Thanks, Raghavendra. >>> >>> Roland, >>> >>> I would be very interested to know if you plan to move to a newer version >>> - that might solve some of your problems. If you do not plan to upgrade, >>> then I would also like to know if there are certain features in 2.0.6 which >>> you feel do not allow you to upgrade. >>> In the ideal case, we would like to have to support a fewer set of recent >>> versions hence the question :-). >>> >>> Regards, >>> Tejas. >>> >>> ----- Original Message ----- >>> From: "Raghavendra G" <raghavendra at gluster.com> >>> To: "Roland Rabben" <roland at jotta.no> >>> Cc: "gluster-users" <gluster-users at gluster.org> >>> Sent: Friday, January 1, 2010 8:41:32 PM GMT +05:30 Chennai, Kolkata, >>> Mumbai, New Delhi >>> Subject: Re: Memory problems / leak in 2.0.6? >>> >>> Hi Roland, >>> >>> Does doing "echo 3 > /proc/sys/vm/drop_caches" bring down the memory >>> usage? >>> >>> regards, >>> On Fri, Jan 1, 2010 at 2:47 PM, Roland Rabben <roland at jotta.no> wrote: >>> >>> > Hi >>> > I am using Glusterfs 2.0.6 and I am experiencing some memory issues on >>> the >>> > clients. The clients will grow their memory usage to several GB's over >>> one >>> > or two days. >>> > This causes my app to run out of memroy and I need to restart my app >>> and >>> > unmount the glusterfs volumes. >>> > >>> > I have tried adjusting the io-cache to max 512MB but this does not seem >>> to >>> > have any effect. >>> > My clients use replicate and distribute. >>> > >>> > From my glusterfs.vol file: >>> > >>> > volume dfs >>> > type cluster/distribute >>> > option lookup-unhashed no >>> > option min-free-disk 5% >>> > subvolumes repl-000-001-01 repl-000-001-02 repl-000-001-03 >>> > repl-000-001-04 repl-002-003-01 repl-002-003-02 repl-002-003-03 >>> > repl-002-003-04 >>> > end-volume >>> > >>> > # Enable write-behind to decrease write latency >>> > volume wb >>> > type performance/write-behind >>> > option flush-behind off >>> > option cache-size 64MB >>> > subvolumes dfs >>> > end-volume >>> > >>> > volume cache >>> > type performance/io-cache >>> > option cache-size 512MB >>> > subvolumes wb >>> > end-volume >>> > >>> > Is this a memory leak or is there a way to limit the memory usage on >>> the >>> > clients? >>> > >>> > I am running this on Ubuntu 9.04. >>> > >>> > Regards >>> > >>> > >>> > -- >>> > Roland Rabben >>> > Founder & CEO Jotta AS >>> > Cell: +47 90 85 85 39 >>> > Phone: +47 21 04 29 00 >>> > Email: roland at jotta.no >>> > >>> > _______________________________________________ >>> > Gluster-users mailing list >>> > Gluster-users at gluster.org >>> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>> > >>> > >>> >>> >>> -- >>> Raghavendra G >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >>> >> >> >> >> -- >> Roland Rabben >> Founder & CEO Jotta AS >> Cell: +47 90 85 85 39 >> Phone: +47 21 04 29 00 >> Email: roland at jotta.no >> > > > > -- > Roland Rabben > Founder & CEO Jotta AS > Cell: +47 90 85 85 39 > Phone: +47 21 04 29 00 > Email: roland at jotta.no > -- Raghavendra G