Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 19:24:27 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r270112 - stable/10/usr.sbin/nfsd
Message-ID:  <201408171924.s7HJORSQ081872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sun Aug 17 19:24:26 2014
New Revision: 270112
URL: http://svnweb.freebsd.org/changeset/base/270112

Log:
  MFC: r269788
  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.

Modified:
  stable/10/usr.sbin/nfsd/nfsd.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/nfsd/nfsd.8
==============================================================================
--- stable/10/usr.sbin/nfsd/nfsd.8	Sun Aug 17 19:06:26 2014	(r270111)
+++ stable/10/usr.sbin/nfsd/nfsd.8	Sun Aug 17 19:24:26 2014	(r270112)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408171924.s7HJORSQ081872>