[Bugs] [Bug 1558379] Huge memory usage of FUSE client

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 21 20:39:46 UTC 2018


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



--- Comment #14 from Yannick Perret <yannick.perret at liris.cnrs.fr> ---
Hmmm… Please don't mind this previous comment.

I tried something: the glusterfs process was still using 1216364/754568
(VSZ/RSS) and I started a small program that performed 'malloc' (and use
allocated memory by writing inside allocated areas) in loops until it failed.

After that I checked memory used by glusterfs process (for the record: all
content destroyed by a 'rm -rf MNT/*'):
root     12118  3.0  0.0 1216364    0 ?        Ssl  10:02  20:59
/usr/local/sbin/glusterfs --process-name fuse --volfile-server=xx.yy.zz.ww
--volfile-id=test-volume /root/MNT
Resident memory falls to 0. After a single 'ls -la' I got 1216364/2080.
So VSZ don't changed but resident memory seems to be returned to the OS only
when the OS needs fresh memory.

So at this point all is fine for me (VSZ is not really pertinent) if RSS takes
care of free-but-not-released-memory on memory pressure it is fine.

In my point of view this bug is solved.

Thanks to you guys.

Regards,
--
Y.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list