Maximum number of NFS Threads?
Posted on 2008-06-10
I currently have 250 linux terminals that boot off a Debian NFS server each morning. They all boot in rapid succession and in my syslog I often find the error message:
"kernel: nfsd: too many open TCP sockets, consider increasing the number of nfsd threads".
Although it does not cause too many problems once all of the terminals have booted, it does make everything boot up a few minutes slower.
I've currently tweak the maximum number of threads to "80" in "/etc/default/nfs-kernel-server" [RPCNFSDCOUNT=80]. At the moment I am slowly incrementing this number to see if I can find the happy medium.
However, my question is: What is the recommended limit for the maximum number of NFS threads? If I was to increase it to, say, 500 would that be outrageous? If that makes any difference, the server is quite a powerful and modern.