From owner-freebsd-hackers Mon Dec 14 16:01:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA03863 for freebsd-hackers-outgoing; Mon, 14 Dec 1998 16:01:20 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA03854 for ; Mon, 14 Dec 1998 16:01:16 -0800 (PST) (envelope-from danderse@cs.utah.edu) Received: from torrey.cs.utah.edu (torrey.cs.utah.edu [155.99.212.91]) by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id RAA26589; Mon, 14 Dec 1998 17:00:55 -0700 (MST) Received: (from danderse@localhost) by torrey.cs.utah.edu (8.9.1/8.9.1) id RAA27013; Mon, 14 Dec 1998 17:00:55 -0700 (MST) (envelope-from danderse@cs.utah.edu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 14 Dec 1998 17:00:55 -0700 (MST) From: "David G. Andersen" To: Alfred Perlstein Cc: spork , Bernd Walter , Kevin Day , hackers@FreeBSD.ORG Subject: Re: NFS thoughts In-Reply-To: Alfred Perlstein's message of Mon, December 14 1998 References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13941.42539.360724.653774@torrey.cs.utah.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Lo and Behold, Alfred Perlstein said: > > > > I also haven't seen the "I've mounted soft and intr, yet things still > > hang" behaviour using version 2 and udp. Any consensus on that? > > why would you mount _both_ soft and intr? to me they seem mutually > exclusive. > > 'intr' allows you to intrupt a hung NFS proc so that it recives a > transient error on a filesystem call, the process will hang forever unless > NFS comes back, or you ^C it > > 'soft' automates that with a timeout however signals won't work, but after > some time the process will unhang and get an error on the filesystem call. > > Are you trying to get an auto-timeout like mount with that ability to ^C? > > generally intr is best, the idea of many processes timeing out on NFS > mounts should the server crash, makes my stomach turn. Note that until kern/8732 is fixed, this can be dangerous (hang your machine dangerous). Mounting with 'intr' and then sending SIGINTR while a process is attempting to flush a dirty block will cause the machine to wedge. -Dave -- work: danderse@cs.utah.edu me: angio@pobox.com University of Utah http://www.angio.net/ Department of Computer Science To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message