[Bugs] [Bug 1435779] GlusterFS 3.10 - Inode ref leak on anonymous reads and writes

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 26 00:07:49 UTC 2017


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



--- Comment #3 from Niels de Vos <ndevos at redhat.com> ---
Created attachment 1266452
  --> https://bugzilla.redhat.com/attachment.cgi?id=1266452&action=edit
Example program logging leaked inodes

Compile this program with (assuming that the file is saved as bug-1435779.c):

    $ make CFLAGS="$(pkg-config --cflags --libs glusterfs-api)" bug-1435779

Run it with:

    $ ./bug-1435779 <hostname> <volname>
    # <hostname> is a gluster server
    # <volname> is a name of a volume

The bug-1435779.log file will contain the warning after running:

[2017-03-25 23:59:50.253520] W [inode.c:1809:inode_table_destroy]
(-->/lib64/libgfapi.so.0(glfs_fini+0x40d) [0x7f958a1f794d]
-->/lib64/libglusterfs.so.0(inode_table_destroy_all+0x51) [0x7f9589f37111]
-->/lib64/libglusterfs.so.0(inode_table_destroy+0xd7) [0x7f9589f37017] )
0-gfapi: Active inode(0x7f95693d1128) with refcount(1) found during cleanup

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7rA4Hunu8V&a=cc_unsubscribe


More information about the Bugs mailing list