🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11875

Sun-4 severe NFS hanging problem--and its solution

#11875
From: Dan Franklin
Date: Tue, 04 Apr 1989 00:41
29 lines
2338 bytes
We were having severe NFS problems involving our (only) Sun 4/110, running
SunOS 4.0.1. The symptom was that a process on the Sun-4 attempting to
copy (say, with cp) a "large" file (greater than 2k bytes or so) between
the Sun-4 and any of several others, including a Sun-3/160 (SunOS 3.4), a
MicroVAX (Ultrix 2.3), and our diskless Sun-3/50 machines (SunOS 3.4),
would almost always hang.  Generally we got an accompanying "NFS server
<hostname> not responding still trying" message.  It usually didn't return
at all, until a long time after it was interrupted.

While a cp was hung, all of the machines involved in the cp operation
continue to respond to other commands, including other NFS commands.
However, on the initiating machine, you couldn't access the directory
containing the file being cp'd.  But you could look at that file on the
serving machine, as well as on other machines besides the Sun-4 that have
that file mounted.  Other network services, including FTP and rlogin,
worked perfectly.  These symptoms seemed to be very different from those
discussed in other Sun-4 hanging situations.  No nfsd ever ended up in a
permanent "D" wait state on any of the machines, including the Sun-4.
Unrelated NFS activities on the two machines in question worked perfectly.

The answer turns out to be--buffer size!  The Sun-4's big buffers just
couldn't be received by the Sun-3, MicroVAX, or anything else on our
network.  But when we remounted those other machines' filesystems on our
Sun-4 with "-o wsize=512", the problem went away.  This suggestion came
from someone here at BBN (Matt Landau), who had had a similar problem a
long time ago between Sun-3 and Sun-2 machines; at that time the Sun
Hotline suggested this workaround.  So history repeats itself.

	Dan Franklin
Technical Details
Message-ID: <8903222301.AA26795@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!rice!sun-spots-request
From: dan@watson.bbn.com (Dan Franklin)
Newsgroups: comp.sys.sun
Subject: Sun-4 severe NFS hanging problem--and its solution
Keywords: SunOS
Message-ID: <8903222301.AA26795@rice.edu>
Date: 4 Apr 89 00:41:01 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 29
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 22 Mar 89 17:46:32 -0500
X-Sun-Spots-Digest: Volume 7, Issue 221, message 4 of 12