Bug 835059

Summary: Memory leak in gNfs causing performance degradation
Product: [Community] GlusterFS Reporter: Rajesh <rajesh>
Component: nfsAssignee: Vivek Agarwal <vagarwal>
Status: CLOSED CURRENTRELEASE QA Contact: Saurabh <saujain>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.6CC: gluster-bugs, mzywusko, sankarshan, sdharane, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 13:22:23 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Attachments:
Description Flags
Valgrind log obtained by running dbench for just 864 seconds(1/100th) of a day none

Description Rajesh 2012-06-25 07:39:20 EDT
Created attachment 594166 [details]
Valgrind log obtained by running dbench for just 864 seconds(1/100th) of a day

Description of problem:
Several GlusterFS users report ravenous memory consumption by Gluster Nfs in 3.2.x versions over days of operation under heavy load, (possibly) causing performance degradation. 

Version-Release number of selected component (if applicable):
3.2.x, possible 3.3.x and mainline

How reproducible: always

Steps to Reproduce:
1. run dbench/<insert heavy load ops here> on an nfs mount
  
Actual results:
GNFS leaks a lot a memory and this could be the reason for performance degradation (not 100% sure).


Additional info:
Attached valgrind log.
Comment 1 Vijay Bellur 2012-07-12 21:06:06 EDT
CHANGE: http://review.gluster.com/3641 (nfs: memory leak fixes) merged in release-3.2 by Anand Avati (avati@redhat.com)