Date: Tue, 12 Sep 2000 19:14:19 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/21229: Proper value for vfs.nfs.access_cache_timeout in nfs.h Message-ID: <200009121714.e8CHEJW17666@curry.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 21229 >Category: kern >Synopsis: Proper value for vfs.nfs.access_cache_timeout in nfs.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 12 10:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andre Albsmeier >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: FreeBSD 4 and 5, maybe 3 >Description: When using NFS, vfs.nfs.access_cache_timeout is set to 2 by /etc/rc.network Without this sysctl the value would be 60. Since 2 seems to be an appropriate value, I would suggest to set it in /sys/nfs/nfs.h already. >How-To-Repeat: Examine vfs.nfs.access_cache_timeout with and without NFS enabled. >Fix: --- /sys/nfs/nfs.h.ORI Tue Sep 12 19:13:24 2000 +++ /sys/nfs/nfs.h Tue Sep 12 19:13:27 2000 @@ -63,7 +63,7 @@ #define NFS_MINATTRTIMO 3 /* VREG attrib cache timeout in sec */ #endif #ifndef NFS_MAXATTRTIMO -#define NFS_MAXATTRTIMO 60 +#define NFS_MAXATTRTIMO 2 #endif #ifndef NFS_MINDIRATTRTIMO #define NFS_MINDIRATTRTIMO 30 /* VDIR attrib cache timeout in sec */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009121714.e8CHEJW17666>
