[Bugs] [Bug 1623107] FUSE client's memory leak

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 28 19:48:27 UTC 2018


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



--- Comment #4 from Znamensky Pavel <kompastver at gmail.com> ---
Finaly I tried to find a leak with valgrind:

valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all
--log-file=gluster_fuse.log /usr/sbin/glusterfs --read-only --process-name fuse
--volfile-server=srv --volfile-id=/gl /mnt/gl

Than I did:
find /mnt/gl -type f

Part of valgrind report (full report in attachment):

==15836== 22,504,608 bytes in 104,188 blocks are possibly lost in loss record
976 of 978
==15836==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==15836==    by 0x4E85E95: __gf_calloc (in /usr/lib64/libglusterfs.so.0.0.1)
==15836==    by 0x14495FEA: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/md-cache.so)
==15836==    by 0x144961C3: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/md-cache.so)
==15836==    by 0x1449ECC7: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/md-cache.so)
==15836==    by 0x1407C52A: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/quick-read.so)
==15836==    by 0x13E69552: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/io-cache.so)
==15836==    by 0x13C5AA26: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/readdir-ahead.so)
==15836==    by 0x138364C4: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/write-behind.so)
==15836==    by 0x135E3CBF: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/cluster/dht.so)
==15836==    by 0x132F02B5: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/cluster/afr.so)
==15836==    by 0x130B0439: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/protocol/client.so)
==15836== 
==15836== 25,005,360 bytes in 104,189 blocks are possibly lost in loss record
977 of 978
==15836==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==15836==    by 0x4E85E95: __gf_calloc (in /usr/lib64/libglusterfs.so.0.0.1)
==15836==    by 0x13E70496: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/io-cache.so)
==15836==    by 0x13E68FF9: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/io-cache.so)
==15836==    by 0x13E693FA: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/io-cache.so)
==15836==    by 0x13C5AA26: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/readdir-ahead.so)
==15836==    by 0x138364C4: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/performance/write-behind.so)
==15836==    by 0x135E3CBF: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/cluster/dht.so)
==15836==    by 0x132F02B5: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/cluster/afr.so)
==15836==    by 0x130B0439: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/protocol/client.so)
==15836==    by 0x515306F: ??? (in /usr/lib64/libgfrpc.so.0.0.1)
==15836==    by 0x5153402: ??? (in /usr/lib64/libgfrpc.so.0.0.1)
==15836== 
==15836== 66,357,720 bytes in 127,611 blocks are possibly lost in loss record
978 of 978
==15836==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==15836==    by 0x4E85E95: __gf_calloc (in /usr/lib64/libglusterfs.so.0.0.1)
==15836==    by 0x4E6A620: ??? (in /usr/lib64/libglusterfs.so.0.0.1)
==15836==    by 0x4E6BACA: inode_new (in /usr/lib64/libglusterfs.so.0.0.1)
==15836==    by 0x13067018: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/protocol/client.so)
==15836==    by 0x130A695C: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/protocol/client.so)
==15836==    by 0x130B02C2: ??? (in
/usr/lib64/glusterfs/4.1.3/xlator/protocol/client.so)
==15836==    by 0x515306F: ??? (in /usr/lib64/libgfrpc.so.0.0.1)
==15836==    by 0x5153402: ??? (in /usr/lib64/libgfrpc.so.0.0.1)
==15836==    by 0x514F2F2: rpc_transport_notify (in
/usr/lib64/libgfrpc.so.0.0.1)
==15836==    by 0x11FAA675: ??? (in
/usr/lib64/glusterfs/4.1.3/rpc-transport/socket.so)
==15836==    by 0x11FAD146: ??? (in
/usr/lib64/glusterfs/4.1.3/rpc-transport/socket.so)
==15836==
==15836== LEAK SUMMARY:
==15836==    definitely lost: 3,832,872 bytes in 15,543 blocks
==15836==    indirectly lost: 1,736,704 bytes in 6,784 blocks
==15836==      possibly lost: 233,130,874 bytes in 1,009,120 blocks
==15836==    still reachable: 1,792,889 bytes in 7,738 blocks
==15836==         suppressed: 0 bytes in 0 blocks
==15836==
==15836== For counts of detected and suppressed errors, rerun with: -v
==15836== ERROR SUMMARY: 2528 errors from 602 contexts (suppressed: 0 from 0)

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