[Gluster-users] Memory leak in GlusterFS FUSE client

Oleksandr Natalenko oleksandr at natalenko.name
Thu Sep 24 08:14:46 UTC 2015

I've checked statedump of volume in question and haven't found lots of 
iobuf as mentioned in that bugreport.

However, I've noticed that there are lots of LRU records like this:


In fact, there are 16383 of them. I've checked "gluster volume set help" 
in order to find something LRU-related and have found this:

Option: network.inode-lru-limit
Default Value: 16384
Description: Specifies the maximum megabytes of memory to be used in the 
inode cache.

Is there error in description stating "maximum megabytes of memory"? 
Shouldn't it mean "maximum amount of LRU records"? If no, is that true, 
that inode cache could grow up to 16 GiB for client, and one must lower 
network.inode-lru-limit value?

Another thought: we've enabled write-behind, and the default 
write-behind-window-size value is 1 MiB. So, one may conclude that with 
lots of small files written, write-behind buffer could grow up to 
inode-lru-limit×write-behind-window-size=16 GiB? Who could explain that 
to me?

24.09.2015 10:42, Gabi C write:
> oh, my bad...
> coulb be this one?
> https://bugzilla.redhat.com/show_bug.cgi?id=1126831 [2]
> Anyway, on ovirt+gluster w I experienced similar behavior...

More information about the Gluster-users mailing list