Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 16:05:50 -0400 (EDT)
From:      "John W. DeBoskey" <jwd@unx.sas.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   amd & server caching?
Message-ID:  <199810062005.QAA13903@bb01f39.unx.sas.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810062005.QAA13903>