From 38b8fecaba7630458a55dc2790b6057e3ee53b53 Mon Sep 17 00:00:00 2001 From: mohans Date: Tue, 25 Apr 2006 00:21:56 +0000 Subject: [PATCH] Bump up the NFS server dupreq cache limit to 2K (from 64). With a small duplicate request cache, under heavy load a lot of non-idempotent requests were getting served again, resulting in errors. Found by : Kris Kennaway. --- sys/nfsserver/nfsrvcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/nfsserver/nfsrvcache.h b/sys/nfsserver/nfsrvcache.h index 3f58a51a82c2..266aaa9aa592 100644 --- a/sys/nfsserver/nfsrvcache.h +++ b/sys/nfsserver/nfsrvcache.h @@ -42,7 +42,7 @@ * Definitions for the server recent request cache */ -#define NFSRVCACHESIZ 64 +#define NFSRVCACHESIZ 2048 struct nfsrvcache { TAILQ_ENTRY(nfsrvcache) rc_lru; /* LRU chain */