Bug 1044909

Summary: Tracker: Clean up memory occupied by DRC-cached replies when drc is set to OFF
Product: Red Hat Gluster Storage Reporter: santosh pradhan <spradhan>
Component: gluster-nfsAssignee: Niels de Vos <ndevos>
Status: CLOSED DUPLICATE QA Contact: Matt Zywusko <mzywusko>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: ashah, grajaiya, saujain, vagarwal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-25 10:33:49 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:
Bug Depends On: 1220268    
Bug Blocks:    

Description santosh pradhan 2013-12-19 08:50:30 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
Run high I/O workload with NFS server with DRC (nfs.drc) ON. 

Actual results:


Expected results:


Additional info:

Comment 2 santosh pradhan 2013-12-19 09:15:51 UTC
Looking into it.

Comment 3 santosh pradhan 2013-12-26 12:21:07 UTC
The memory growth is because of the cached replies. The RSS size of process almost remains constant after reaching 5-6 GB though VSS changes. 

If nfs.drc is set to OFF, the cached replies are not flushed which is why memory footprint does not change much (if drc is set to OFF from ON ). But current code does not handle the cleaning up the cached replies though it just cleans up the memory pool (created for DRC). 

I am working on the cached-reply clean up part.

Comment 4 Vivek Agarwal 2013-12-30 13:24:17 UTC
PEr mail discussion, turning off DRC by default and not claiming support for this, removing it from the list for corbett

Comment 5 santosh pradhan 2013-12-31 07:48:21 UTC
There is no leak due to DRC but the memory growth is because of cached replies. By default it caches 128k replies. So, modified the summary of the defect.

Comment 11 Niels de Vos 2015-11-25 10:33:49 UTC

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