[Gluster-users] glusterfs process eats memory until OOM kills it

Andreas Kurz andreas at hastexo.com
Thu Jul 19 15:18:53 UTC 2012


On 07/19/2012 08:57 AM, Vijay Bellur wrote:
> On 07/19/2012 01:46 AM, Andreas Kurz wrote:
>> Hi,
>>
>> I'm running GlusterFS 3.2.6 in AWS on CentOS 6.2, running a
>> distributed/replicated setup.
>>
>> Type: Distributed-Replicate
>> Status: Started
>> Number of Bricks: 4 x 2 = 8
>>
>> Whenever geo-replication is activated, the corresponding glusterfs
>> process on the server starts eating memory (and using lot of cpu) until
>> oom killer strikes back.
>>
>> This happens once user starting to change files via glusterfs mount and
>> gsyncd starts crawling through the directory tree looking for changes.
>> Network traffic between the servers is quite high, typically 10Mbit/s
>> ... the vast majority are lookups and getxattr request from the server
>> running geo-replication.
>>
>> I also created a state dump (5MB bzip2 archive) of this glusterfs
>> process when eating about 9GB if that is needed for debugging I can
>> upload it somewhere (Bugzilla?). Dropping dentries and inodes reclaims
>> about 1GB.
>>
>> Any ideas? A bug? Any recommended tunings, maybe a gsyncd option? I
>> changed these values:
>>
>> performance.stat-prefetch: off
>> performance.quick-read: off
>> performance.cache-refresh-timeout: 1
>> performance.read-ahead: off
>> geo-replication.indexing: on
>> nfs.disable: on
>> network.ping-timeout: 10
>> performance.cache-size: 1073741824
>>
> 
> 
> Can you also try with performance.io-cache being set to off? If that
> doesn't show any improvement, please raise a bug and attach the
> statedump to it.

Done ... https://bugzilla.redhat.com/show_bug.cgi?id=841617

Thanks!

Regards,
Andreas

> 
> Thanks,
> Vijay
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120719/a55b73ac/attachment.sig>


More information about the Gluster-users mailing list