Created attachment 1512497 [details]
Description of problem: glusterfs process keep on growing
Version-Release number of selected component (if applicable): 5.1
How reproducible: always
Steps to Reproduce:
1. mount gluster volume
3. wait for process to grow
glusterfs process grows to 10s of gigabytes:
root 24837 27.5 35.2 24051028 23167000 ? Ssl Nov29 3133:46 /usr/sbin/glusterfs --use-readdirp=off --attribute-timeout=600 --entry-timeout=600 --negative-timeout=600 --fuse-mountopts=noatime --process-name fuse --volfile-server=SERVER --volfile-id=jf-vol0 --fuse-mountopts=noatime /mnt/jf-vol0
glusterfs uses reasonable amounts of memory.
The volume contains a large number (some millions) of small files. Some of those are python code, hence the negative-timeout mount option (python tries to open a lot of non-existent files, effectively killing the volume performance).
Attached are four state-dumps. I've added redacted version where unchanged or up-down values are left out. If I check them with vimdiff, it looks like some of the values only keep on growing.
Might be related to https://bugzilla.redhat.com/show_bug.cgi?id=1623107 and https://bugzilla.redhat.com/show_bug.cgi?id=1659676
Are any of these fixed in 5.2?
robdewit, apologies for delay in getting back on this. Yes, there were some serious memory leaks which got fixed in glusterfs-5.5 timeframe, and glusterfs-6.1 time...
We recommend you to upgrade and test the newer version to get the fixes.
We've been running the 6.1 release for some time now and the memory consumption is back at the previous level. Close to 1GB, but not more than that.