summaryrefslogtreecommitdiffstats
path: root/sys/nfsserver
diff options
context:
space:
mode:
authormohans <mohans@FreeBSD.org>2006-04-25 00:21:56 +0000
committermohans <mohans@FreeBSD.org>2006-04-25 00:21:56 +0000
commit38b8fecaba7630458a55dc2790b6057e3ee53b53 (patch)
tree6ff5db9a9066cd377f2738a2ec55aa388a649c19 /sys/nfsserver
parent18e73c23204ce04e8f2097f9e3c215a56cff7052 (diff)
downloadFreeBSD-src-38b8fecaba7630458a55dc2790b6057e3ee53b53.zip
FreeBSD-src-38b8fecaba7630458a55dc2790b6057e3ee53b53.tar.gz
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.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfsrvcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsserver/nfsrvcache.h b/sys/nfsserver/nfsrvcache.h
index 3f58a51..266aaa9 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 */
OpenPOWER on IntegriCloud