[S] Change in ...nfs-ganesha[next]: Size inactive DRCs to avoid high memory usage
xh140312@outlook.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1171181?usp=email ) Change subject: Size inactive DRCs to avoid high memory usage ...................................................................... Size inactive DRCs to avoid high memory usage DRC is per client IP, port pair. We won't free the drc as soon as the tcp connection gets closed, instead will put it in a recycle queue for 10 mins(time expired check happen in drc_free_expired). However, currently we don't have any parameter control the size of the recycle queue for inactive DRC. In this change, hiwat parameter is added and set for len of recycle queue to prevent unexpected high memory usage. Change-Id: I63fc3670d2d2b316c83cce1e172242c78ce66c75 Signed-off-by: Xueqian Hu <xueqian.hu@nutanix.com> --- M src/RPCAL/nfs_dupreq.c M src/include/gsh_config.h M src/support/nfs_read_conf.c 3 files changed, 20 insertions(+), 4 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/1171181/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1171181?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I63fc3670d2d2b316c83cce1e172242c78ce66c75 Gerrit-Change-Number: 1171181 Gerrit-PatchSet: 1 Gerrit-Owner: xh140312@outlook.com Gerrit-MessageType: newchange
participants (1)
-
Name of user not set (GerritHub)