diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2014-08-10 20:05:13 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2014-08-10 20:05:13 +0000 |
commit | d9417510dff7729f07b08522c33c4514cbe65d40 (patch) | |
tree | d67addfe72664680f13d9acfd2b0e935b82a0da3 /usr.sbin | |
parent | 385b74b7ff9fa2ef7499492567b9a1143cde084e (diff) | |
download | FreeBSD-src-d9417510dff7729f07b08522c33c4514cbe65d40.zip FreeBSD-src-d9417510dff7729f07b08522c33c4514cbe65d40.tar.gz |
Document the use of the vfs.nfsd sysctls that control the size of
the NFS server's DRC for TCP.
This is a content change.
MFC after: 1 week
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/nfsd/nfsd.8 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8 index d865d7e..660e5e8 100644 --- a/usr.sbin/nfsd/nfsd.8 +++ b/usr.sbin/nfsd/nfsd.8 @@ -28,7 +28,7 @@ .\" @(#)nfsd.8 8.4 (Berkeley) 3/29/95 .\" $FreeBSD$ .\" -.Dd July 18, 2014 +.Dd August 10, 2014 .Dt NFSD 8 .Os .Sh NAME @@ -175,6 +175,24 @@ utility would then be used to block nfs-related packets that come in on the outside interface. .Pp +If the server has stopped servicing clients and has generated a console message +like +.Dq Li "nfsd server cache flooded..." , +the value for vfs.nfsd.tcphighwater needs to be increased. +This should allow the server to again handle requests without a reboot. +Also, you may want to consider decreasing the value for +vfs.nfsd.tcpcachetimeo to several minutes (in seconds) instead of 12 hours +when this occurs. +.Pp +Unfortunately making vfs.nfsd.tcphighwater too large can result in the mbuf +limit being reached, as indicated by a console message +like +.Dq Li "kern.ipc.nmbufs limit reached" . +If you cannot find values of the above +.Nm sysctl +values that work, you can disable the DRC cache for TCP by setting +vfs.nfsd.cachetcp to 0. +.Pp The .Nm utility has to be terminated with |