Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!neat.cs.toronto.edu!lamy From: lamy@ai.utoronto.ca (Jean-Francois Lamy) Newsgroups: comp.unix.wizards Subject: Re: NFS, hung processes Keywords: NFS,hang,process,server,client Message-ID: <89Jul29.154744edt.10404@neat.cs.toronto.edu> Date: 29 Jul 89 19:48:36 GMT References: <24D1DF49.7A5@marob.masa.com> Lines: 13 Under SunOS 3.x, religiously enforce the following policy: never mount two partitions from two different machines in the same directory. That way the mount point for the partition you are in will always be found before getwd has to look at the directory entry for a dead machine. You can most simply acheive this by mounting all remote partitions on /nfs/machine/partition and making symlinks to preserve the illusion. Under SunOS 4.x, getwd caches results. Poking around with trace reveals that if all NFS mounts refer to symlinks pointing to the actual mount point you won't see the NFS hang problem. Jean-Francois Lamy lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4