Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 13:37:16 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        Jim Rees <rees@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: handling unresonsive NFS servers
Message-ID:  <46A7985C.3010202@freebsd.org>
In-Reply-To: <20070725171214.GC25749@citi.umich.edu>
References:  <Pine.GSO.4.63.0707251255180.1429@muncher> <20070725171214.GC25749@citi.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Rees wrote:
> Afs has the same problem, and solves it by marking a server "down" when it
> doesn't respond.  The timeout is very long, like a minute or more.  Normally
> this would permanently hang the client, but once the server is marked down,
> any subsequent operations fail immediately.  The client checks periodically
> to see if the server has come back up.  Failing this way is better than
> waiting forever, because waiting forever results in a reboot when the
> machine's owner runs out of patience.



For 'fail immediately', what does that mean?  It returns EIO?  That 
might be sufficient, although I think 1min is pretty low for NFS.  Of 
course, if it's settable, then that's good. :)

Eric



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