aboutsummaryrefslogtreecommitdiff
path: root/etc/defaults/rc.conf
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2006-05-24 00:06:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2006-05-24 00:06:14 +0000
commit8f8d0137698e008b65e4a76380011faf468a6524 (patch)
tree4524a3c7d50626d773919e7830fff3221bb1af56 /etc/defaults/rc.conf
parent2c24bd34d660961d2b0c6081a322b9fb30bdb0ea (diff)
downloadsrc-8f8d0137698e008b65e4a76380011faf468a6524.tar.gz
src-8f8d0137698e008b65e4a76380011faf468a6524.zip
Increase the nfs access cache timeout from 2 to 60. The latter is a
more appropriate value and is also the default set by the kernel. I could not find a justification of why rc.conf began overriding it back in 1998. This dramatically cuts NFS traffic on e.g. a busy system with NFS root. Reviewed by: mohans MFC After: 2 weeks
Notes
Notes: svn path=/head/; revision=158866
Diffstat (limited to 'etc/defaults/rc.conf')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 5930bb27fc03..9698137a4bb6 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -235,7 +235,7 @@ amd_program="/usr/sbin/amd" # path to amd, if you want a different one.
amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
amd_map_program="NO" # Can be set to "ypcat -k amd.master"
nfs_client_enable="NO" # This host is an NFS client (or NO).
-nfs_access_cache="2" # Client cache timeout in seconds
+nfs_access_cache="60" # Client cache timeout in seconds
nfs_server_enable="NO" # This host is an NFS server (or NO).
nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled).
mountd_enable="NO" # Run mountd (or NO).