I have one nfs server, and at the moment 14 computers are getting users home directories from server (about 30 home directoris). In var/log/messages there are: kernel: nfsd: too many open TCP sockets, consider increasing the number of nfsd threads How can I increase it? ps ax shows, that there are four nfsd processes.
Taavi Dovnar writes:
I have one nfs server, and at the moment 14 computers are getting users home directories from server (about 30 home directoris). In var/log/messages there are:
kernel: nfsd: too many open TCP sockets, consider increasing the number of nfsd threads
How can I increase it? ps ax shows, that there are four nfsd processes.
Run Yast2 -> System -> sysconfig editor, or alternatively, edit /etc/sysconfig/nfs, and change the USE_KERNEL_NFSD_NUMBER parameter. -Ti
I have one nfs server, and at the moment 14 computers are getting users home directories from server (about 30 home directoris). In var/log/messages there are:
kernel: nfsd: too many open TCP sockets, consider increasing the number of nfsd threads
How can I increase it? ps ax shows, that there are four nfsd processes.
Run Yast2 -> System -> sysconfig editor, or alternatively, edit /etc/sysconfig/nfs, and change the USE_KERNEL_NFSD_NUMBER parameter.
Thanks. But what could be the "right" number of threads? Too many threads isn't nice I think...
Taavi Dovnar writes:
nfsd threads How can I increase it? ps ax shows, that there are four nfsd processes.
Run Yast2 -> System -> sysconfig editor, or alternatively, edit /etc/sysconfig/nfs, and change the USE_KERNEL_NFSD_NUMBER parameter.
Thanks. But what could be the "right" number of threads? Too many threads isn't nice I think...
I don't think there is a hard and fast rule, but basically, the more nfs threads, the more parallelism there is so users should get better NFS response time. However, increasing the number of threads also consumes more memory and CPU resources on the server, so you try to achieve a balance between the two. This is specific to your NFS load, and the amount of memory and CPU speed your server has. Since you're getting a log message suggesting that you increase the number of threads, it's a good bet that doing that would yield better performance. How far should you take it? Try doubling it for starters, and see if the log messages go away, and whether you experience an improvement. It may take a few adjustments to arrive at an optimal value. -Ti
participants (2)
-
Taavi Dovnar
-
ti@amb.org