From owner-freebsd-current Tue Oct 6 13:06:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03767 for freebsd-current-outgoing; Tue, 6 Oct 1998 13:06:00 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03760 for ; Tue, 6 Oct 1998 13:05:57 -0700 (PDT) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.9.1/8.9.1) with SMTP id QAA13525 for ; Tue, 6 Oct 1998 16:05:52 -0400 (EDT) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA08080; Tue, 6 Oct 1998 16:05:51 -0400 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.1/8.9.1) id QAA13903 for freebsd-current@freebsd.org; Tue, 6 Oct 1998 16:05:51 -0400 (EDT) (envelope-from jwd) From: "John W. DeBoskey" Message-Id: <199810062005.QAA13903@bb01f39.unx.sas.com> Subject: amd & server caching? To: freebsd-current@FreeBSD.ORG Date: Tue, 6 Oct 1998 16:05:50 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL38 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, running -current with amd version: Oct 6 15:37:41 bb01f20 amd[136]/info: am-utils version 6.0a16 (build 300004). When an nfs server is automounted, after the mount point times out and is unmounted, amd never actually stops talking to the server. This isn't bad for 1 or 2 servers, but I'm in the 100's range and this causes amd to start chewing up cpu, etc, etc... Oct 6 15:56:33 bb01f20 amd[146]/debug: Sent NFS ping to ge.unx.sas.com Oct 6 15:56:33 bb01f20 amd[146]/debug: NFS timeout in 3 seconds Oct 6 15:56:33 bb01f20 amd[146]/debug: Select waits for 3s Oct 6 15:56:33 bb01f20 amd[146]/debug: Receiving NFS ping 0x1b2 Oct 6 15:56:33 bb01f20 amd[146]/debug: file server ge.unx.sas.com type nfs is s I've been through the doc, and I can't figure out how to tell amd to simply dump all cached info about a server once it's exported filesystems have been unmounted. Also, no matter how I specify the noconn option, I always get the following in my log file: Oct 6 15:37:41 bb01f20 amd[147]/warn: noconn option exists, and was turned OFF ! (May cause NFS hangs on some systems...) There is a code path in compute_nfs_args() which doesn't cause the above to be printed out, but I don't seem to be able to do the correct incantation to figure it out. Ideas? Comments? Critiques? Thanks! John ps: My /nfs (or /net) map follows: # # Wildcard match - Can't have more than 2000 bytes in this file! # * -opts:=rw,soft,grpid,suid,rsize=8192,wsize=8192,retrans=20,timeo=20 \ hostd==${key};type:=link;fs:=..;opts:=nounmount \ host==${key};type:=link;fs:=..;opts:=nounmount \ hostd!=${key};type:=host;rhost:=${key};fs:=/remote/${key.} \ host!=${key};type:=host;rhost:=${key};fs:=/remote/${key.} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message