Bug 1311377
Summary: | Memory leak in glusterd | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Gaurav Kumar Garg <ggarg> |
Component: | glusterd | Assignee: | Gaurav Kumar Garg <ggarg> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | amukherj, bordas.csaba, bugs, chris.l.cao, kostas.makedos, smohan, tereshonkov.roman |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1287517 | Environment: | |
Last Closed: | 2016-04-19 07:20:19 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: | 1287517 | ||
Bug Blocks: |
Description
Gaurav Kumar Garg
2016-02-24 05:46:31 UTC
REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#2) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#3) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#4) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#5) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#6) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#7) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13503 (glusterd: fixing few memory leak in glusterd) posted (#8) for review on release-3.7 by Vijay Bellur (vbellur) COMMIT: http://review.gluster.org/13503 committed in release-3.7 by Vijay Bellur (vbellur) ------ commit af7428490253421484e61409ddb77b653c4a5e63 Author: Gaurav Kumar Garg <garg.gaurav52> Date: Wed Dec 9 20:12:17 2015 +0530 glusterd: fixing few memory leak in glusterd This patch is backport of: http://review.gluster.org/#/c/12927/ Current glusterd code base having memory leak. This is because of memory allocate by dict_allocate_and_serialize function in "gd_syncop_mgmt_v3_lock" and "gd_syncop_mgmt_v3_unlock" function is not freeing up memory upon exit. Fix is to free the memory after exit of the above function. Thanks Carlos and Roman for finding out the issue and fix. >> Change-Id: Id67aa794c84969830ca7ea8c2374f80c64d7a639 >> BUG: 1287517 >> Signed-off-by: Gaurav Kumar Garg <ggarg> >> Signed-off-by: Carlos Chinea <carlos.chinea> >> Signed-off-by: Roman Tereshonkov <roman.tereshonkov> >> Reviewed-on: http://review.gluster.org/12927 >> Smoke: Gluster Build System <jenkins.com> >> NetBSD-regression: NetBSD Build System <jenkins.org> >> CentOS-regression: Gluster Build System <jenkins.com> >> Reviewed-by: Jeff Darcy <jdarcy> Change-Id: Id67aa794c84969830ca7ea8c2374f80c64d7a639 BUG: 1311377 Signed-off-by: Gaurav Kumar Garg <ggarg> (cherry picked from commit e38bf1bdeda3c7a89be3193ad62a72b9139358dd) Reviewed-on: http://review.gluster.org/13503 Smoke: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> Tested-by: Vijay Bellur <vbellur> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> 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-3.7.9, please open a new bug report. glusterfs-3.7.9 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] https://www.gluster.org/pipermail/gluster-users/2016-March/025922.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |