Bug 1711240 - [GNFS] gf_nfs_mt_inode_ctx serious memory leak
Summary: [GNFS] gf_nfs_mt_inode_ctx serious memory leak
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1781543
TreeView+ depends on / blocked
 
Reported: 2019-05-17 10:18 UTC by Xie Changlong
Modified: 2019-12-10 09:04 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 1779284 1781543 (view as bug list)
Environment:
Last Closed: 2019-05-23 08:49:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22738 0 None Merged inode: fix wrong loop count in __inode_ctx_free 2019-05-23 08:49:53 UTC

Description Xie Changlong 2019-05-17 10:18:52 UTC
Description of problem:

gf_nfs_mt_inode_ctx leak

[nfs/server.nfs-server - usage-type gf_nfs_mt_inode_ctx memusage]
size=2628907920
num_allocs=109537830
max_size=2628907920
max_num_allocs=109537830
total_allocs=109537830

Version-Release number of selected component (if applicable):

latest master branch

How reproducible:

high read or write activities


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Xie Changlong 2019-05-17 10:20:17 UTC
unlink file nerver invoke nfs_forget

Comment 3 Amar Tumballi 2019-05-17 10:35:53 UTC
Which version of Gluster Release is it?

Comment 4 Worker Ant 2019-05-17 10:57:54 UTC
REVIEW: https://review.gluster.org/22738 (inode: fix wrong loop count in __inode_ctx_free) posted (#1) for review on master by Xie Changlong

Comment 5 Xie Changlong 2019-05-17 11:03:41 UTC
@Amar Tumballi  test gnfs with master branch 836e5b6b, nfs_forget never call. It seems glusterfs-3.12.2-47.el7 also has this problem.

Comment 6 Worker Ant 2019-05-23 08:49:54 UTC
REVIEW: https://review.gluster.org/22738 (inode: fix wrong loop count in __inode_ctx_free) merged (#4) on master by Xavi Hernandez


Note You need to log in before you can comment on or make changes to this bug.