Date: Wed, 16 Jun 1999 16:06:20 -0700 (PDT) From: Studded <Studded@gorean.org> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: Studded <Studded@gorean.org>, freebsd-current@FreeBSD.ORG Subject: Re: Heavily loaded amd gets stuck Message-ID: <Pine.BSF.4.05.9906161402190.23758-100000@dt054n86.san.rr.com> In-Reply-To: <19990616124448.B69195@nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jun 1999, David O'Brien wrote: > > I have the amd.conf and the map files in place, and amd mounts one > > Can you post your amd.conf file? 65# more amd.conf [ global ] # Only search for maps of this type map_type = file # Search this path for maps search_path = /etc # Use this directory for amd's private mount points auto_dir = /mnt # How long the mounts should live, in seconds #cache_duration = 1800 # Log all activity to syslog (daemon) log_file = syslog:local7 log_options = all # Check /etc/hosts for hostnames normalize_hostnames = yes # Lock the amd process into memory, improves perf. #plock = yes # Use the special /default entry in maps selectors_on_default = yes # DEFINE AN AMD MOUNT POINT [ /Interfaces ] map_name = amd.Interfaces [ /Hold ] map_name = amd.Hold 67# more amd.Interfaces #/defaults type:=nfs;opts:=rw,nosuid /defaults type:=nfs;opts:=rw,nosuid,vers=2,proto=udp * rhost:=IP${key};rfs:=/Space/${key} 68# more amd.Hold #/defaults type:=nfs;opts:=rw,nosuid /defaults type:=nfs;opts:=rw,nosuid,vers=2,proto=udp netapp01 rhost:=netapp01;rfs:=/vol/Space/Hold * rhost:=${key};rfs:=/Space/Hold Also, here is the info from the log when amd starts up, just in case it's relevant: Jun 16 15:50:11 <local7.info> miva004 amd[137]: AM-UTILS VERSION INFORMATION: Jun 16 15:50:11 <local7.info> miva004 amd[137]: Copyright (c) 1997-1998 Erez Zadok Jun 16 15:50:11 <local7.info> miva004 amd[137]: Copyright (c) 1990 Jan-Simon Pendry Jun 16 15:50:11 <local7.info> miva004 amd[137]: Copyright (c) 1990 Imperial College of Science, Technology & Medicine Jun 16 15:50:11 <local7.info> miva004 amd[137]: Copyright (c) 1990 The Regents of the University of California. Jun 16 15:50:11 <local7.info> miva004 amd[137]: am-utils version 6.0 (build 320001). Jun 16 15:50:11 <local7.info> miva004 amd[137]: Built by root@miva004.simplenet.net on date Tue Jun 15 19:56:13 PDT 1999. Jun 16 15:50:11 <local7.info> miva004 amd[137]: cpu=i386 (little-endian), arch=i386, karch=i386. Jun 16 15:50:11 <local7.info> miva004 amd[137]: full_os=freebsd3.2-19990609-STABLE, os=freebsd3, osver=3.2-19990609-STABLE, vendor=unknown . Jun 16 15:50:11 <local7.info> miva004 amd[137]: Map support for: root, passwd, union, nis, ndbm, file, error. Jun 16 15:50:11 <local7.info> miva004 amd[137]: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit, Jun 16 15:50:11 <local7.info> miva004 amd[137]: ufs, lofs, cdfs, pcfs, auto, direct, toplvl, error. Jun 16 15:50:11 <local7.info> miva004 amd[137]: FS: cd9660, lofs, mfs, nfs, nfs3, null, msdos, tfs, ufs, umap, union. Jun 16 15:50:11 <local7.info> miva004 amd[137]: Network: wire="209.132.1.0" (netnumber=209.132.1). Jun 16 15:50:11 <local7.info> miva004 amd[137]: My ip addr is 0xd18401cc Jun 16 15:50:11 <local7.info> miva004 amd[138]: released controlling tty using setsid() Jun 16 15:50:11 <local7.info> miva004 amd[138]: file server localhost type local starts up Jun 16 15:50:11 <local7.debug> miva004 amd[138]: Trying mount of /etc/amd.Hold on /Hold fstype toplvl Jun 16 15:50:11 <local7.info> miva004 amd[139]: /Hold: disabling nfs congestion window Jun 16 15:50:11 <local7.debug> miva004 amd[138]: Trying mount of /etc/amd.Interfaces on /Interfaces fstype toplvl Jun 16 15:50:11 <local7.info> miva004 amd[140]: /Interfaces: disabling nfs congestion window Jun 16 15:50:11 <local7.info> miva004 amd[138]: initializing amd conf map /etc/amd.Hold of type file Jun 16 15:50:11 <local7.info> miva004 amd[138]: /etc/amd.Hold mounted fstype toplvl on /Hold Jun 16 15:50:11 <local7.info> miva004 amd[138]: initializing amd conf map /etc/amd.Interfaces of type file Jun 16 15:50:11 <local7.info> miva004 amd[138]: /etc/amd.Interfaces mounted fstype toplvl on /Interfaces One note about that, the snap date is incorrect, I built world from yesterday's cvsup. Also, I'm afraid I have bad news, when I ran the script that caused amd to hang last time with the options as in the map file above, this time it caused the whole system to hang, not just amd. To make matters worse, it borked the root filesystem so I had to go hook up the console and go single user to fix it. I am going to do some more experimentation now, but I thought I'd send a progress report. Thanks, Doug 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?Pine.BSF.4.05.9906161402190.23758-100000>