[Gluster-users] Memory problems / leak in 2.0.6?

Roland Rabben roland at jotta.no
Fri Jan 1 10:47:52 UTC 2010


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


More information about the Gluster-users mailing list