stat() hangs indefinetely on NFS when server down

stat() hangs indefinetely on NFS when server down

Post by Yong Ch » Thu, 09 Nov 1995 04:00:00



Subject: stat() hangs indefinately on NFS when server down

On Solaris 2.4, I have a process that blocks indefinately when it
does a stat() or access() call on a file that is on an NFS partition,
and the server is down. (The mount is "rw,hard,intr".)

How can I prevent this indefinate blocking? Forcing the mount to
be done in a specific way (e.g. always "soft") is not an option;
I would like to find something that works irrespective of now the
NFS mount is done. Have tried using signal()/alarm(), but the signal
only gets delivered after the NFS server comes back.


Thanks.
--
Yong Chen                                                     _/_/_/_/_/
1445 Lakeside Estates Dr. #1617                            _/_/       _/
Houston, Texas 77042                                     _/_/  _/_/  _/_/_/
Phone: (Day) +1 713 918-1310, (Night) +1 713 952-1339   _/_/     _/  _/_/

 
 
 

1. NFS client hangs when the server goes down

Hi all,

I'm running a 4.3.3 F50 server that exports some file systems to a
4.3.3 S80 machine. Those machines are connected by a 2 way gigabit
ethernet network. Yesterday I had to get the server down for
maintenance and surprisingly the client machine stopped answering to
its clients, i.e., the applications that runs on that machine hung.

There is a known problem related to that situation ? It might be a
coincidence and the problem with the applications was not really
related with the shutdown of the nfs server ? I looked for related
messages on both logs but I didn't find anything.

Thanks in advance.
Xyko

2. SMB / PLIP

3. setenv PATH hangs when nfs server down

4. lp0 NOT RECOGNIZED WITH POWER ON

5. Down 'Solaris' NFS Server hangs 'Solaris' Client

6. RedHat Linux and 'gated' and 'routed"

7. Linux NFS hangs, if server machine goes down

8. Fwd: cml2-2.1.4 lockup confirmation

9. NFS: When one server goes down, entire network slows down to a crawl.

10. nfs hangs when remote system goes down

11. lsof & non-stat()-ble NFS server

12. Bringing down two servers using NFS

13. shutting down a server without umounting NFS filesystems