Bug 1653225

Summary: brick memory consumed by volume is not getting released even after delete
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nag Pavan Chilakam <nchilaka>
Component: coreAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED DUPLICATE QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.4CC: amukherj, moagrawa, nchilaka, pasik, rhinduja, rhs-bugs, sheggodu, storage-qa-internal, ubansal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1656682 (view as bug list) Environment:
Last Closed: 2020-02-14 13:53:47 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:    
Bug Blocks: 1656682    

Description Nag Pavan Chilakam 2018-11-26 10:15:48 UTC
Description of problem:
=======================
on a brick mux setup, when we create volumes in sequence the glusterfsd memory also keeps increasing, but when we delete the volume, the memory is not getting freed up.
This can keep piling up if we do multiple volumes creates and deletes.



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

How reproducible:
==============
always

Steps to Reproduce:
1.create a brick mux setup
2.create a volume say basevol
3.now creating multiple volumes and also delete them(don't delete basevol), it can be seen that the brick mem footprint only keeps increasing and never decreases.


Actual results:
===========


Expected results:
===============
memory should be freed up after every volume delete

Additional info:
================
this issue was already reported and fixed as part of BZ#1535281 
However the problem has appeared again as part of a regression introduced sometime in 3.4.x

Raising this bug to track the above issue

Comment 2 Nag Pavan Chilakam 2018-11-26 11:04:15 UTC
sosreports @  http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/nchilaka/bug.1653225

Comment 3 Sunil Kumar Acharya 2018-12-07 08:30:54 UTC
Upstream Patch:  https://review.gluster.org/21810