[Gluster-users] glusterFS memory leak?

Raghavendra G raghavendra at gluster.com
Wed Dec 23 20:43:08 UTC 2009


Hi Larry,

What is the client and server configuration? Instead of killing glusterfs
process, can you do "echo 3 > /proc/sys/vm/drop_caches" and check whether
memory usage comes down?

regards,
On Wed, Dec 23, 2009 at 9:01 PM, Larry Bates <larry.bates at vitalesafe.com>wrote:

> I've successfully set up GlusterFS 3.0 with a single server.  I brought on
> a 2nd server and setup AFR and have been working through the mirroring
> process.  I started an "ls -alR" to trigger a complete mirror of all files
> between the two servers.  After running for about 16 hours I started getting
> kernel out of memory errors.  Looking at top I see:
>
>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  2561 root      15   0 13.0g 8.9g  860 S    7 91.6  60:56.02 glusterfs
>
> Seems that the client has used up all my memory (RAM and SWAP).  Killing
> the process returned all the memory to the OS.
>
> BTW - I'm working on a 2.3Tb store that contains about 2.5 million files in
> 65K folders.
>
> Thoughts?
>
> Larry Bates
> vitalEsafe, Inc.
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>



-- 
Raghavendra G


More information about the Gluster-users mailing list