Bug 762537 (GLUSTER-805) - memory leak in afr
Summary: memory leak in afr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-805
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.3
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Vikas Gorur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-06 11:40 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


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