Bug 1072854

Summary: Volume mount/unmount using libgfapi has memory leaks
Product: [Community] GlusterFS Reporter: Tomas Varaneckas <tomas.varaneckas>
Component: libgfapiAssignee: Raghavendra Talur <rtalur>
Status: CLOSED DUPLICATE QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: bugs, ndevos, sankarshan, sasundar, smohan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-02 11:21:54 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:

Description Tomas Varaneckas 2014-03-05 09:48:50 UTC
Description of problem:
Mounting and unmounting volumes over libgfapi repeatedly causes OOM - memory keeps growing. Discovered while implementing ruby bindings for glusterfs at https://github.com/spajus/libgfapi-ruby

valgrind output and test script: https://gist.github.com/spajus/9363703

Version-Release number of selected component (if applicable):
glusterfs-api.x86_64                      3.4.2-1.el6

How reproducible:
Every time

Steps to Reproduce:
1. gem install libgfapi-ruby
2. ruby leaks.rb # find leaks.rb in gist

Comment 2 Niels de Vos 2017-05-02 11:21:54 UTC
This problem is being tracked in more details and worked on through bug 1425623:

https://bugzilla.redhat.com/showdependencytree.cgi?id=1425623&hide_resolved=0

*** This bug has been marked as a duplicate of bug 1425623 ***