Bug 1526363

Summary: [RHEL 7] high memory usage by glusterd on executing gluster volume set operations
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Sunil Kumar Acharya <sheggodu>
Component: glusterdAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED ERRATA QA Contact: Ambarish <asoman>
Severity: high Docs Contact:
Priority: urgent    
Version: rhgs-3.3CC: amukherj, asoman, asriram, bmekala, moagrawa, rabhat, rcyriac, rhinduja, rhs-bugs, srmukher, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.3.1 Async   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-52.1 Doc Type: Bug Fix
Doc Text:
Executing gluster volume set operations on volumes from gluster CLI caused a significant memory leak in glusterd process. The memory leak issues have been fixed in this release.
Story Points: ---
Clone Of: 1522833
: 1527551 (view as bug list) Environment:
Last Closed: 2018-01-11 02:46:39 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: 1522833    
Bug Blocks: 1527551    

Comment 5 Ambarish 2017-12-28 07:25:49 UTC
Created 300 Dist Rep volumes.

Set volume options in loop .

EXACT COMMANDS  : for i in {1..300};do gluster v set butcher$i cluster.self-heal-daemon off;sleep 3 ;gluster v set butcher$i group metadata-cache;sleep 3;gluster v set butcher$i cluster.lookup-optimize on;sleep 3 ;done


** BEFORE VOL SET COMMANDS **
[root@gqas013 ~]# ps aux|grep /sbin/glusterd
root     17167  1.1  0.2 600724 109656 ?       Ssl  09:01   1:22 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO
[root@gqas013 ~]#




** AFTER 300*3 VOL SET COMMANDS **:


[root@gqas013 ~]# ps aux|grep sbin/glusterd
root     17167  4.7  0.3 797332 118236 ?       Ssl  09:01  38:37 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO



Memory consumption increased from 109 MB with a  small delta, 118 MB.


The same test was tried thrice.


Mem consumption of glusterd seemed controlled.


I am moving this bug to Verified.

Comment 12 errata-xmlrpc 2018-01-11 02:46:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0083