Bug 1380249
Summary: | Huge memory usage of FUSE client | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Nithya Balachandran <nbalacha> |
Component: | fuse | Assignee: | Nithya Balachandran <nbalacha> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, glush, jbyers, kjohnson, nbalacha, oleksandr, pkarampu, yannick.perret |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1369364 | Environment: | |
Last Closed: | 2017-03-06 17:28:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | fuse |
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: | 1369364 |
Description
Nithya Balachandran
2016-09-29 05:47:55 UTC
REVIEW: http://review.gluster.org/15593 (protocol/client: reduce memory usage) posted (#2) for review on master by N Balachandran (nbalacha) COMMIT: http://review.gluster.org/15593 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit bca6d0ba54d12d389cfb5c2b37fb8cc12a7e044b Author: N Balachandran <nbalacha> Date: Wed Sep 28 21:38:57 2016 +0530 protocol/client: reduce memory usage readdirp calls use a lot of memory in case of a large number of files. The dict->extra_free is not used here so free buf immediately. Change-Id: I097f5dde2df471f5834264152711110a3bdb7e9a BUG: 1380249 Signed-off-by: N Balachandran <nbalacha> Reviewed-on: http://review.gluster.org/15593 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu> (In reply to Worker Ant from comment #2) > COMMIT: http://review.gluster.org/15593 committed in master by Pranith Kumar > Karampuri (pkarampu) > ------ > commit bca6d0ba54d12d389cfb5c2b37fb8cc12a7e044b > Author: N Balachandran <nbalacha> > Date: Wed Sep 28 21:38:57 2016 +0530 > > protocol/client: reduce memory usage > > readdirp calls use a lot of memory in case > of a large number of files. The dict->extra_free > is not used here so free buf immediately. > > Change-Id: I097f5dde2df471f5834264152711110a3bdb7e9a > BUG: 1380249 > Signed-off-by: N Balachandran <nbalacha> > Reviewed-on: http://review.gluster.org/15593 > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.org> > Smoke: Gluster Build System <jenkins.org> > Reviewed-by: Pranith Kumar Karampuri <pkarampu> This is an interim fix to reduce the amount of memory that we consume. Some code paths hang on to memory until the very end even though it is no longer used. There will be more patches posted for this. As yet, I have not managed to find a memory leak. 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.10.0, please open a new bug report. glusterfs-3.10.0 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] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |