summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-05-24 00:06:14 +0000
committerkris <kris@FreeBSD.org>2006-05-24 00:06:14 +0000
commit6537a44f850b33486fcc42553e1f43b892f16898 (patch)
tree4524a3c7d50626d773919e7830fff3221bb1af56 /etc
parent83e9f36b668cccde7476ae5a5447c0357b1a0fa4 (diff)
downloadFreeBSD-src-6537a44f850b33486fcc42553e1f43b892f16898.zip
FreeBSD-src-6537a44f850b33486fcc42553e1f43b892f16898.tar.gz
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
Diffstat (limited to 'etc')
-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 5930bb2..9698137 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).
OpenPOWER on IntegriCloud