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

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 26 07:33:50 UTC 2016


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



--- Comment #7 from Oleksandr Natalenko <oleksandr at natalenko.name> ---
I've run another test: http://termbin.com/cgzj

The idea of it is to split read/write workload across two clients. I'm
attaching statedumps of both reader and writer.

Unfortunately, it seems, memory accounting for FUSE translator suffers from
integer overflow (underflow?), because I get something like this:

===
[mount/fuse.fuse - usage-type gf_fuse_mt_iov_base memusage]
size=4262955128
num_allocs=1
max_size=4294967088
max_num_allocs=3
total_allocs=18389093
===

Another observation: reader consumes more memory than writer. Given cache-size
is 32M (and if even it is used across 5 xlators), total RAM consumption should
not exceed 160-200M). However, reader RAM:

===
root     30865  8.7  3.5 1054244 433676 ?      Ssl  Aug25  61:01
/usr/sbin/glusterfs --volfile-server=gluster.server.com --volfile-id=test
/mnt/net/glusterfs/test2
===

and writer RAM:

===
root     30796  3.3  2.0 722464 249352 ?       Ssl  Aug25  23:11
/usr/sbin/glusterfs --volfile-server=gluster.server.com --volfile-id=test
/mnt/net/glusterfs/test1
===

-- 
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