NFSD running out of threads

Jim Kronebusch jim at
Tue Sep 18 18:49:21 BST 2007

I found out yesterday with all my messing around that I was running out of threads in
nfsd causing errors from clients.  To find out if you're having these problems run the
following on the server:

cat syslog | grep nfsd

And see if you have any lines with the following errors.

nfsd, too many open tcp sockets, consider increasing the number of nfsd threads

If so edit the nfs server to start more threads by "sudo /etc/init.d/nfs-kernel-server"
and increasing the thread count on the following line:


I increased to 64 and all my errors went away.  I don't know what the consequence is of
having too many nfsd threads, but this cleared it up for me.  If anyone knows of any
reason not to run this high please post.

Jim Kronebusch
Cotter Tech Department

This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.

More information about the edubuntu-users mailing list