NFS client hangs when the server goes down

NFS client hangs when the server goes down

Post by Xyk » Fri, 14 Feb 2003 21:59:49



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

 
 
 

NFS client hangs when the server goes down

Post by William Peckha » Sat, 15 Feb 2003 10:00:23


I have seen similer behavior between an old E30 and an H50 with massive
storage.  No one, including IBM, has given me any explanation.

My workaround is to make it part of every planned outage to unmount all NFS
mounts on the remote machine before the other goes down.  After the outage I
again mount the NFS mount, and the problem is avoided.   Unless someone here
has a better answer, this is what I recommend.

I tried tuning parameters for NFS and the TCPIP stack, without maing the
problem any better or worse.  I have not tested since AIX was upgraded to
5.1 ML 3  from 4.3.3 ML 10 recently, but I do not expect  any change in
behavior.

LUCK!


Quote:> 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

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21

 
 
 

NFS client hangs when the server goes down

Post by Andreas Goldamme » Sat, 15 Feb 2003 15:26:12




Quote:> 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

Hi,

I donnot know if this is what happened, but if the NFS filesystem is
mounted with attribute HARD and mounted under the / filesystem
some system processes (scanning the / filesystem) might wait for
the resource to come back (this is from an IBM document). As a
conclusion NFS filesystems under / should be mounted with
option SOFT.

If it "just" was an application hang its likely that the application
tried to acces the NFS filesystem.

Regards,
Andreas

 
 
 

NFS client hangs when the server goes down

Post by Chris » Sat, 15 Feb 2003 20:11:35



> Hi all,
> 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.

i had the same problems in my LAN

the problem should only occur if there are any requests to the server or
an access to one of the mounted directorys.

the best solution is to use the automount deamon.
i use it and it works without any problems.

good luck

chris

--
PS: pls excuse my bad english

 
 
 

1. Linux NFS hangs, if server machine goes down

Description:
  We have mounted a partition under Linux which is located on another
  Linux machine via NFS. If the server machine goes down, the client
  machine does not take appropriate notice, thus it hangs. For example
  command 'ls /' does not terminate.

Questions:
  * Did someone already experience similar problems?
  * How can this problem be solved?

Settings:
  * Client: Linux Redhat 6.0 with included kernel 2.2.5
            with 'knfsd-1.3.2-1.i386.rpm' installed
  * Server: Linux Redhat 6.0 with included kernel 2.2.5
            with 'knfsd-1.3.2-1.i386.rpm' installed
      also tried: Linux Redhat 5.2 with kernel 2.0.36

Thanks for replies,
Michael

--
Michael Balser                               Abt. Programmiermethodik
                                             Geb?ude O27

Phone: ++49 07 31 / 50 - 2 42 52             Oberer Eselsberg
Fax:   ++49 07 31 / 50 - 2 41 62             89069 Ulm

2. Console

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

4. PPP connects OK, can't go anywhere (help!)

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

6. arplooup error

7. nfs hangs when remote system goes down

8. NEED HELP PLEASE!!!!

9. Need Help with dynamic unmounting when server goes down: Sun NFS

10. NFS server goes down, can't unmount (of course)

11. NFS server going up and down. Help???

12. stat() hangs indefinetely on NFS when server down

13. setenv PATH hangs when nfs server down