Bug 1148520 - Memory leaks in ec while traversing directories
Summary: Memory leaks in ec while traversing directories
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Xavi Hernandez
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1148521
TreeView+ depends on / blocked
 
Reported: 2014-10-01 15:55 UTC by Xavi Hernandez
Modified: 2015-05-14 17:44 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.7.0
Clone Of:
: 1148521 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:27:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Xavi Hernandez 2014-10-01 15:55:57 UTC
Description of problem:

When many directories are scanned, mount and brick processes increase memory usage without limit.

Version-Release number of selected component (if applicable): master


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2014-10-01 19:44:46 UTC
REVIEW: http://review.gluster.org/8896 (ec: Fix memory leak caused by undestroyed fops) posted (#1) for review on master by Xavier Hernandez (xhernandez)

Comment 2 Anand Avati 2014-10-01 19:50:01 UTC
REVIEW: http://review.gluster.org/8896 (ec: Fix memory leak caused by undestroyed fops) posted (#3) for review on master by Xavier Hernandez (xhernandez)

Comment 3 Anand Avati 2014-10-03 16:41:36 UTC
COMMIT: http://review.gluster.org/8896 committed in master by Vijay Bellur (vbellur) 
------
commit dee517728dbccf40077f45a286e9678f2aede8df
Author: Xavier Hernandez <xhernandez>
Date:   Wed Oct 1 20:41:58 2014 +0200

    ec: Fix memory leak caused by undestroyed fops
    
    Operations processed by ec_dispatch_one() were not correctly
    completed by ec_complete(), leaving some structures in memory.
    
    Now ec_complete() also calls ec_resume() for this type of fops.
    
    Change-Id: Iaf0f2e8227399ebb735db9f1bd007593e0ece041
    BUG: 1148520
    Signed-off-by: Xavier Hernandez <xhernandez>
    Reviewed-on: http://review.gluster.org/8896
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 4 Niels de Vos 2015-05-14 17:27:53 UTC
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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:35:38 UTC
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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:38:00 UTC
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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:44:02 UTC
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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.