All of lore.kernel.org
 help / color / mirror / Atom feed
* nfsd thread limit and UDP ?
@ 2019-02-20 11:28 James Pearson
  2019-02-20 17:44 ` J. Bruce Fields
  2019-02-21  4:18 ` J. Bruce Fields
  0 siblings, 2 replies; 6+ messages in thread
From: James Pearson @ 2019-02-20 11:28 UTC (permalink / raw)
  To: linux-nfs

On a very busy NFSv3 server (running CentOS 6), we recently upped the
nfsd thread count to 1024 - but this caused client mount requests over
UDP to fail.

We configure all our clients to use TCP for NFS mounts, but the
automounter (automountd) on MacOS (up to version MacOS 10.12) seeds a
'null call' to the NFS server over UDP before attempting the mount -
but the server appears to ignore any UDP requests - and the automount
fails

I can also reproduce the issue on a Linux client via:

 mount -o udp,nfsvers=3 server:/export /mount/point

I've found, by trial and error, that the maximum number of nfsd
threads that can be run on the server is 1017 before UDP mount
requests fail

Running tcpdump on the server shows the UDP requests from the client,
but the server never replies

It looks like more recent versions of MacOS will do its test 'null
call' over TCP - so that is one 'solution' to this issue

However, I'm interested to know if we're hitting some hard limit, or
if there are any settings we can tweak that could mitigate the
problem?

Thanks

James Pearson

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-21 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 11:28 nfsd thread limit and UDP ? James Pearson
2019-02-20 17:44 ` J. Bruce Fields
2019-02-20 18:15   ` J. Bruce Fields
2019-02-21  4:18 ` J. Bruce Fields
2019-02-21 12:35   ` James Pearson
2019-02-21 15:20     ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.