[Bugs] [Bug 1369748] New: Memory leak with a replica 3 arbiter 1 configuration
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 24 10:05:04 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1369748
Bug ID: 1369748
Summary: Memory leak with a replica 3 arbiter 1 configuration
Product: GlusterFS
Version: 3.8.3
Component: arbiter
Keywords: Triaged
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Depends On: 1369331
+++ This bug was initially created as a clone of Bug #1369331 +++
Description of problem:
http://www.gluster.org/pipermail/gluster-users/2016-August/028126.html
>From the stateump provided by Benjamin:
[features/arbiter.vol1-arbiter - usage-type gf_arbiter_mt_iatt memusage]
size=1103760672
num_allocs=9855006
max_size=1103760672
max_num_allocs=9855006
total_allocs=9855006
--- Additional comment from Worker Ant on 2016-08-23 03:34:48 EDT ---
REVIEW: http://review.gluster.org/15289 (arbiter: Fix memleak in
arbiter_forget) posted (#1) for review on master by Ravishankar N
(ravishankar at redhat.com)
--- Additional comment from Worker Ant on 2016-08-23 13:31:53 EDT ---
REVIEW: http://review.gluster.org/15289 (arbiter: Fix memleak in arbiter_inode
ctx) posted (#2) for review on master by Ravishankar N (ravishankar at redhat.com)
--- Additional comment from Worker Ant on 2016-08-23 22:10:24 EDT ---
COMMIT: http://review.gluster.org/15289 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 4aa52061a51b97c4f865b402f977b3b43f5471a7
Author: Ravishankar N <ravishankar at redhat.com>
Date: Tue Aug 23 12:51:57 2016 +0530
arbiter: Fix memleak in arbiter_inode ctx
Problem:
The iattbuf ptr stored in arbiter's inode context was not freed during
inode
forget.
Fix:
Change it to a statically allocated value so that we don't have to deal
with allocating/freeing it.
Change-Id: Id1b73b8aee1fb5c4174d0734bd20e168432b1abd
BUG: 1369331
Reported-by: Benjamin Edgar <benedgar8 at gmail.com>
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: http://review.gluster.org/15289
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1369331
[Bug 1369331] Memory leak with a replica 3 arbiter 1 configuration
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list