Bug 1523046

Summary: glusterd consuming high memory
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 3.13CC: abhishku, amukherj, bkunal, bmekala, bugs, jahernan, moagrawa, pdhange, psony, rhs-bugs, sbairagy, storage-qa-internal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.13.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1522775 Environment:
Last Closed: 2018-01-02 16:03:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1522775, 1523048, 1523050    
Bug Blocks: 1512470, 1526365    

Comment 1 Worker Ant 2017-12-07 04:50:11 UTC
REVIEW: https://review.gluster.org/18978 (glusterd: Free up svc->conn on volume delete) posted (#1) for review on release-3.13 by Atin Mukherjee

Comment 2 Atin Mukherjee 2017-12-07 04:54:37 UTC
Problem Description:

If a volume is created/started/stopped/deleted and then the same step is repeated multiple times, through the statedump output we have observed a memory leak in the following data types:

gf_common_mt_rpcclnt_t
gf_common_mt_rpcclnt_savedframe_t
gf_common_mt_rpc_trans_t

Comment 3 Worker Ant 2017-12-11 04:53:44 UTC
COMMIT: https://review.gluster.org/18978 committed in release-3.13 by \"Atin Mukherjee\" <amukherj> with a commit message- glusterd: Free up svc->conn on volume delete

Daemons like snapd, tierd and gfproxyd are maintained on per volume
basis and on a volume delete we should destroy the rpc connection
established for them.

>mainline patch : https://review.gluster.org/#/c/18957/

Change-Id: Id1440e39da07b990fdb9b207df18da04b1ca8014
BUG: 1523046
Signed-off-by: Atin Mukherjee <amukherj>
(cherry picked from commit 36ce4c614a3391043a3417aa061d0aa16e60b2d3)

Comment 4 Shyamsundar 2018-01-02 16:03:56 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.13.1, please open a new bug report.

glusterfs-3.13.1 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-devel/2017-December/054104.html
[2] https://www.gluster.org/pipermail/gluster-users/