Bug 1044909 - Tracker: Clean up memory occupied by DRC-cached replies when drc is set to OFF
Summary: Tracker: Clean up memory occupied by DRC-cached replies when drc is set to OFF
Keywords:
Status: CLOSED DUPLICATE of bug 1045271
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nfs
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Niels de Vos
QA Contact: Matt Zywusko
URL:
Whiteboard:
Depends On: 1220268
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-19 08:50 UTC by santosh pradhan
Modified: 2015-11-25 10:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-25 10:33:49 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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