From andre.albsmeier@mchp.siemens.de  Tue Sep 12 10:14:24 2000
Return-Path: <andre.albsmeier@mchp.siemens.de>
Received: from goliath.siemens.de (goliath2.siemens.de [192.35.17.28])
	by hub.freebsd.org (Postfix) with ESMTP id 5A0A837B422
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2000 10:14:23 -0700 (PDT)
Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14])
	by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e8CHEK309642
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2000 19:14:21 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail3.siemens.de (8.11.0/8.11.0) with ESMTP id e8CHEKX8590047
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2000 19:14:20 +0200 (MEST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.11.0/8.11.0) id e8CHEKo09385
	for FreeBSD-gnats-submit@freebsd.org; Tue, 12 Sep 2000 19:14:20 +0200 (CEST)
Message-Id: <200009121714.e8CHEJW17666@curry.mchp.siemens.de>
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: Proper value for vfs.nfs.access_cache_timeout in nfs.h
X-Send-Pr-Version: 3.2

>Number:         21229
>Category:       kern
>Synopsis:       [nfs] [patch] Proper value for vfs.nfs.access_cache_timeout in nfs.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 10:20:00 PDT 2000
>Closed-Date:    Mon Aug 22 16:11:49 GMT 2005
>Last-Modified:  Mon Aug 22 16:11:49 GMT 2005
>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:

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: dillon@freebsd.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/21229: Proper value for vfs.nfs.access_cache_timeout in nfs.h 
Date: Tue, 12 Sep 2000 20:36:16 +0200

 On Tue, 12 Sep 2000 19:14:19 +0200, Andre Albsmeier wrote:
 
 > >Number:         21229
 > >Category:       kern
 > >Synopsis:       Proper value for vfs.nfs.access_cache_timeout in nfs.h
 
 Matt, are you still our NFS maintainer?
 
 Ciao,
 Sheldon.
 

From: Andre Albsmeier <Andre.Albsmeier@siemens.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/21229: [nfs] [patch] Proper value for vfs.nfs.access_cache_timeout in nfs.h
Date: Mon, 22 Aug 2005 09:59:07 +0200

 Please close this PR.
 
 NFS_MAXATTRTIMO can be set in the kernel config now as well.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Aug 22 16:11:01 GMT 2005 
State-Changed-Why:  
Submitter notes that this can now be set by a kernel config option. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21229 
>Unformatted:
