Oleksandr Natalenko
2016-Jan-07 14:04 UTC
[Gluster-users] Memory leak in GlusterFS FUSE client
OK, I've patched GlusterFS v3.7.6 with 43570a01 and 5cffb56b (the most recent revisions) and NFS-Ganesha v2.3.0 with 8685abfc (most recent revision too). On traversing GlusterFS volume with many files in one folder via NFS mount I get an assertion: ==ganesha.nfsd: inode.c:716: __inode_forget: Assertion `inode->nlookup >nlookup' failed. == I used GDB on NFS-Ganesha process to get appropriate stacktraces: 1. short stacktrace of failed thread: https://gist.github.com/7f63bb99c530d26ded18 2. full stacktrace of failed thread: https://gist.github.com/d9bc7bc8f6a0bbff9e86 3. short stacktrace of all threads: https://gist.github.com/f31da7725306854c719f 4. full stacktrace of all threads: https://gist.github.com/65cbc562b01211ea5612 GlusterFS volume configuration: https://gist.github.com/30f0129d16e25d4a5a52 ganesha.conf: https://gist.github.com/9b5e59b8d6d8cb84c85d How I mount NFS share: ==mount -t nfs4 127.0.0.1:/mail_boxes /mnt/tmp -o defaults,_netdev,minorversion=2,noac,noacl,lookupcache=none,timeo=100 == On ??????, 7 ????? 2016 ?. 12:06:42 EET Soumya Koduri wrote:> Entries_HWMark = 500;
I could reproduce while testing deep directories with in the mount point. I root caus'ed the issue & had discussion with Pranith to understand the purpose and recommended way of taking nlookup on inodes. I shall make changes to my existing fix and post the patch soon. Thanks for your patience! -Soumya On 01/07/2016 07:34 PM, Oleksandr Natalenko wrote:> OK, I've patched GlusterFS v3.7.6 with 43570a01 and 5cffb56b (the most recent > revisions) and NFS-Ganesha v2.3.0 with 8685abfc (most recent revision too). > > On traversing GlusterFS volume with many files in one folder via NFS mount I > get an assertion: > > ==> ganesha.nfsd: inode.c:716: __inode_forget: Assertion `inode->nlookup >> nlookup' failed. > ==> > I used GDB on NFS-Ganesha process to get appropriate stacktraces: > > 1. short stacktrace of failed thread: > > https://gist.github.com/7f63bb99c530d26ded18 > > 2. full stacktrace of failed thread: > > https://gist.github.com/d9bc7bc8f6a0bbff9e86 > > 3. short stacktrace of all threads: > > https://gist.github.com/f31da7725306854c719f > > 4. full stacktrace of all threads: > > https://gist.github.com/65cbc562b01211ea5612 > > GlusterFS volume configuration: > > https://gist.github.com/30f0129d16e25d4a5a52 > > ganesha.conf: > > https://gist.github.com/9b5e59b8d6d8cb84c85d > > How I mount NFS share: > > ==> mount -t nfs4 127.0.0.1:/mail_boxes /mnt/tmp -o > defaults,_netdev,minorversion=2,noac,noacl,lookupcache=none,timeo=100 > ==> > On ??????, 7 ????? 2016 ?. 12:06:42 EET Soumya Koduri wrote: >> Entries_HWMark = 500; > >