Bug 762545 (GLUSTER-813)

Summary: inode ref leak
Product: [Community] GlusterFS Reporter: Krishna Srinivas <krishna>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: avati, chrisw, 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: RTP Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
mem dump none

Description Krishna Srinivas 2010-04-08 14:12:29 UTC
Created attachment 175 [details]
RH5.x working script

Comment 1 Krishna Srinivas 2010-04-08 16:18:37 UTC
setup: 4 servers, 4 clients, 2 replicates, 1 dht, wb, ra

do this on client:
cp -ar /etc/ /mnt/glusterfs/etc1; echo 3 > /proc/sys/vm/drop_caches;cp -ar /etc/ /mnt/glusterfs/etc1; echo 3 > /proc/sys/vm/drop_caches;cp -ar /etc/ /mnt/glusterfs/etc1; echo 3 > /proc/sys/vm/drop_caches;

do kill -USR1 pid

the dump will show a lot of active inodes - hence inode leak.

Comment 2 Anand Avati 2010-04-08 16:56:58 UTC
PATCH: http://patches.gluster.com/patch/3125 in master (afr: fix inode ref leak in lookup)

Comment 3 Anand Avati 2010-04-08 16:57:16 UTC
PATCH: http://patches.gluster.com/patch/3126 in release-3.0 (afr: fix inode ref leak in lookup)