Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1691164

Summary: glusterd leaking memory when issued gluster vol status all tasks continuosly
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: mainlineCC: amukherj, bmekala, bugs, nchilaka, rhs-bugs, sankarshan, srakonde, storage-qa-internal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1686255
: 1694610 1694612 (view as bug list) Environment:
Last Closed: 2019-03-26 04:22:44 UTC Type: ---
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:    
Bug Blocks: 1686255, 1694610, 1694612    

Comment 1 Atin Mukherjee 2019-03-21 02:50:59 UTC
Description of problem:
glusterd is leaking memory when issused "gluster vol status tasks" continuosly for 12 hours. The memory increase is from 250MB to 1.1GB. The increase have been 750 MB.


Version-Release number of selected component (if applicable):
glusterfs-3.12.2-45.el7rhgs.x86_64

How reproducible:
1/1

Steps to Reproduce:
1. On a six node cluster with brick-multiplexing enabled
2. Created 150 disperse volumes and 250 replica volumes and started them
3. Taken memory footprint from all the nodes
4. Issued "while true; do gluster volume status all tasks; sleep 2; done" with a time gap of 2 seconds 

Actual results:
Seen a memory increase of glusterd on Node N1 from 260MB to 1.1GB

Expected results:
glusterd memory shouldn't leak

Comment 2 Worker Ant 2019-03-21 02:53:46 UTC
REVIEW: https://review.gluster.org/22388 (glusterd: fix txn-id mem leak) posted (#1) for review on master by Atin Mukherjee

Comment 3 Worker Ant 2019-03-26 04:22:44 UTC
REVIEW: https://review.gluster.org/22388 (glusterd: fix txn-id mem leak) merged (#5) on master by Sanju Rakonde