Bug 1523048 - glusterd consuming high memory
Summary: glusterd consuming high memory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.12
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1522775 1523050
Blocks: 1512470 1523046 1526365
TreeView+ depends on / blocked
 
Reported: 2017-12-07 04:50 UTC by Atin Mukherjee
Modified: 2017-12-19 07:18 UTC (History)
13 users (show)

Fixed In Version: glusterfs-glusterfs-3.12.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1522775
Environment:
Last Closed: 2017-12-19 07:18:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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

Comment 2 Atin Mukherjee 2017-12-07 04:53:19 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

--- Additional comment from Worker Ant on 2017-12-06 23:46:57 EST ---

COMMIT: https://review.gluster.org/18957 committed in master 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.

Change-Id: Id1440e39da07b990fdb9b207df18da04b1ca8014
BUG: 1522775
Signed-off-by: Atin Mukherjee <amukherj>

Comment 3 Worker Ant 2017-12-12 10:01:17 UTC
COMMIT: https://review.gluster.org/18979 committed in release-3.12 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: 1523048
Signed-off-by: Atin Mukherjee <amukherj>
(cherry picked from commit 36ce4c614a3391043a3417aa061d0aa16e60b2d3)

Comment 4 Jiffin 2017-12-19 07:18:35 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-glusterfs-3.12.4, please open a new bug report.

glusterfs-glusterfs-3.12.4 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/054093.html
[2] https://www.gluster.org/pipermail/gluster-users/


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