Bug 762537 (GLUSTER-805)

Summary: memory leak in afr
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: replicateAssignee: Vikas Gorur <vikas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 3.0.3CC: amarts, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2010-04-06 11:40:41 UTC
There is a memory leak in afr. This is found in 3.0.4rc3 and 3.0.4rc2.Just copy some directory containing many files and subdirectories(such as usr) on the mount point and keep doing 'find' in a loop. There is an crease in the memory usage by the glusterfs client process. It keeps on increasing till the find command is running.

Comment 1 Anand Avati 2010-04-07 06:41:11 UTC
PATCH: http://patches.gluster.com/patch/3112 in release-3.0 (cluster/afr: Cleanup fd ctx in releasedir cbk)

Comment 2 Anand Avati 2010-04-08 07:08:22 UTC
PATCH: http://patches.gluster.com/patch/3124 in master (cluster/afr: Cleanup fd ctx in releasedir cbk)