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.
This commit is contained in:
Mohan Srinivasan 2006-04-25 00:21:56 +00:00
parent daea0aad84
commit 2eafb39b67

View File

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