Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* dreadful problem with cc + IRIX NFS client + DEC NFS server
@ 1997-10-01  4:00 Mark Bartelt
  1997-10-01  4:00 ` Peter R David
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mark Bartelt @ 1997-10-01  4:00 UTC (permalink / raw)



I arrived at 4:30 this morning, intending to get some real work
done, but unfortunately had to deal with the fact that we were
suffering from a self-inflicted denial-of-service attack!  Thus
far, I don't know whether the problem is with SGI's NFS client
software, or Digital's NFS server software, or something else.
But I do know what state things were in.  Maybe someone will be
able to point me to an appropriate {SGI|DEC} patch.

Late last night, someone started a make going on our Origin 2000.
It hung, so he started it again.  It hung, too, so he started it
a third time.  Then he gave up and went to sleep.  When I arrived
this morning, I found ...

  --  Six copies of /usr/lib32/cmplrs/be running on our
      Origin 2000, each eating CPU time like crazy; they
      were unkillable, even with "kill -9".

  --  A totally hosed DEC Alpha (running DUnix 3.2c); it
      would respond to pings, and if I typed a RETURN at
      it from an already-logged-in window on my machine,
      I might get an echo and another shell prompt a few
      minutes later.  But that's about all it would do.

A bit more investigation (luckily, we have ethernet switches that
can tell us things like this) uncovered the fact that the SGI box
was spewing out about 4000 packets per second, about half of which
were being sent to the DEC machine.  (No idea where the other half
ended up.)  This seemed to be the reason that the DUnix system was
so badly hosed.  Since the compiler back-end processes on the O2000
were unkillable, I just rebooted it, and everything settled down to
normal.

(The DEC machine got rebooted as well, before I realized that the
packet flood was responsible for its nearly-moribund state.)

After everything was back up, the directory on the DEC machine in
which the O2000 was working had six .nfs* files (one left behind
be each of the "be" processes, presumably), as well as a directory
named tp.ipaa000Na, whose name and contents seem to be related to
the make target that was being worked on ...

tp: tp.o dbhforce.o appdisk.o query.o
	$(LD) $(CFLAGS) tp.o dbhforce.o appdisk.o query.o \
	-o tp $(LIBS)

... and the contents of which included four object files (the ones
named in the first line of the above makefile excerpt), and a pair
of .I files (tp.I and dbhforce.I), which "file" informs me are ELF
N32 intermediate object files.  One of the .o files (dbhforce.o) is
empty.  There's also something called "objectlist", which contains
a bunch of compiler options, names of .o files, names of .so files,
and the like.

I presume that this directory was created by SGI's "make", and (if
things hadn't gone nuts) would have been removed when it finished.

The fact that the there are two .I files seems consistent with the
fact that (as reported by the guy who was trying to build his job)
each "make" that hung seemed to cause two unkillable "be" processes
to run.  And the fact that there were six running this morning is
consistent with the fact that he started his "make" three times.

In any case, has anyone else encountered this problem, or anything
similar?  Are there any known bugs related to DUnix v3 NFS servers
and/or IRIX 6.4 NFS clients?  Patches?  Advice or suggestions?  As
usual, many thanks in advance.

Mark Bartelt                                           416/978-5619
Canadian Institute for                        mark@cita.utoronto.ca
Theoretical Astrophysics          http://www.cita.utoronto.ca/~mark

"Nur eine Waffel taugt!"     --     Parsifal, in an Eggo commercial



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-01  4:00 dreadful problem with cc + IRIX NFS client + DEC NFS server Mark Bartelt
@ 1997-10-01  4:00 ` Peter R David
  1997-10-02  4:00   ` Ron Foerch
  1997-10-02  4:00   ` Michael Nelson
  1997-10-02  4:00 ` Eric Werme
  1997-10-09  4:00 ` Mikhail Teterin
  2 siblings, 2 replies; 8+ messages in thread
From: Peter R David @ 1997-10-01  4:00 UTC (permalink / raw)



	Check the SGI web pages for the latest patches; there were a
large number of patches to IRIX through 5.3 before SGI's NFS became
stable when served to non-SGI platforms.

	To keep our SGIs happy, we button the Digital Unix boxes down
to NFS version 2.  As of 5.3, SGI had trouble with the 64bit pointers
from the DEC machines; this is probably not true of 6.4, but I haven't
tried it yet.

	Try to turn off the SGI feature that allows asynchronous
writes in NFS.  In my opinion, this is a time bomb waiting to happen.
We had several meltdowns wherein the SGI box was convinced it did not
know the route to a machine on its own subnet and flooded the router
with the packets, the router then sent the packets to the DEC and the
DEC answered the SGI request, which then cause the SGI to issue
another request to the router, which...  The machines stayed up
through that, but the performance was horrible.

	Finally, check your switch regularly to make sure that there
is not a malfunctioning ethernet adaptor in your domain that may be
hitting the SGI with runt packets.  Runts seem to cause a great deal
of trouble to our IRIX 5.3 systems.  Your Mileage May Vary in 6.4

	Please post the answers, as some of us also face the 6.4
upgrade.

	Thanks,

	Peter David

-- 
Peter R. David, Ph. D.
D-100 Fairchild Bldg                                         Tel 650-725-0754  
Stanford University                                          Fax 650-723-8464
Stanford, CA 94305-5400 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-01  4:00 ` Peter R David
  1997-10-02  4:00   ` Ron Foerch
@ 1997-10-02  4:00   ` Michael Nelson
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Nelson @ 1997-10-02  4:00 UTC (permalink / raw)



On 1 Oct 1997 20:00:29 GMT, Peter R David wrote:

>	Please post the answers, as some of us also face the 6.4
>upgrade.

What 6.4 upgrade?  Machines that can run 6.4 can ONLY run 6.4 at this point.

Michael

-- 
Michael Nelson                                   nelson@seahunt.imat.com
San Francisco, CA                                   michaeln@csd.sgi.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-01  4:00 ` Peter R David
@ 1997-10-02  4:00   ` Ron Foerch
  1997-10-03  4:00     ` Integraphic Inc.
  1997-10-03  4:00     ` Eric Werme
  1997-10-02  4:00   ` Michael Nelson
  1 sibling, 2 replies; 8+ messages in thread
From: Ron Foerch @ 1997-10-02  4:00 UTC (permalink / raw)



>         To keep our SGIs happy, we button the Digital Unix boxes down
> to NFS version 2.  As of 5.3, SGI had trouble with the 64bit pointers
> from the DEC machines; this is probably not true of 6.4, but I haven't
> tried it yet.
> 
hmm.. this comment seems like it may have some relevence to 
a problem that i have with my digital unix machine 
(OSF1 marmotte V3.2 41 alpha) & it's nfs connection.  the 
performence is *so* bad. i've been told it might be the 64 bit
words being passed... another guy told me slow nfs was 
probably some feature dec though up...

anyway.. are there any quick fixes to try?

Ron Foerch

NW Numerics & Modeling, Inc.
http://www.nwnumerics.com/



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-01  4:00 dreadful problem with cc + IRIX NFS client + DEC NFS server Mark Bartelt
  1997-10-01  4:00 ` Peter R David
@ 1997-10-02  4:00 ` Eric Werme
  1997-10-09  4:00 ` Mikhail Teterin
  2 siblings, 0 replies; 8+ messages in thread
From: Eric Werme @ 1997-10-02  4:00 UTC (permalink / raw)



mark@cita.toronto.edu (Mark Bartelt) writes:

>Late last night, someone started a make going on our Origin 2000.
>It hung, so he started it again.  It hung, too, so he started it
>a third time.  Then he gave up and went to sleep.  When I arrived
>this morning, I found ...

>  --  Six copies of /usr/lib32/cmplrs/be running on our
>      Origin 2000, each eating CPU time like crazy; they
>      were unkillable, even with "kill -9".

>  --  A totally hosed DEC Alpha (running DUnix 3.2c); it
>      would respond to pings, and if I typed a RETURN at
>      it from an already-logged-in window on my machine,
>      I might get an echo and another shell prompt a few
>      minutes later.  But that's about all it would do.

>A bit more investigation (luckily, we have ethernet switches that
>can tell us things like this) uncovered the fact that the SGI box
>was spewing out about 4000 packets per second, about half of which
>were being sent to the DEC machine.  (No idea where the other half
>ended up.)

I'd guess the switches were dropping about half the requests on the
floor.  That suggests the O2000 sent a NFS request and either got some error
on that or when it tried to sleep while waiting for a reply.  I bet
you had a hard mount, and the client looped back to retransmit the request.

>After everything was back up, the directory on the DEC machine in
>which the O2000 was working had six .nfs* files (one left behind
>be each of the "be" processes, presumably)

Those are files the client had open but deleted.  The client can't just
delete them on the server, so it renames them to .nfsxxxx and deletes
them on the last close(2) of the file.

>In any case, has anyone else encountered this problem, or anything
>similar?  Are there any known bugs related to DUnix v3 NFS servers
>and/or IRIX 6.4 NFS clients?  Patches?  Advice or suggestions?  As
>usual, many thanks in advance.

No patches on the DU side.  I don't know of anything our server might
do to provoke such a response.  A tcpdump trace would have been really
nice.  Did you get a crash dump?  We could fish out the NFS statistics
on the server and make a good guess what message type(s) were
involved.  After an all night run, I imagine the culprit would stick
out in the histogram data.
-- 
  <>    Eric (Ric) Werme   <>    DEC's back!  (As an officially approved  <>
  <>  <werme@zk3.dec.com>  <>     nickname, we're really still DIGITAL.)  <>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-02  4:00   ` Ron Foerch
  1997-10-03  4:00     ` Integraphic Inc.
@ 1997-10-03  4:00     ` Eric Werme
  1 sibling, 0 replies; 8+ messages in thread
From: Eric Werme @ 1997-10-03  4:00 UTC (permalink / raw)



Ron Foerch <foerch@nwnumerics.com> writes:

>>         To keep our SGIs happy, we button the Digital Unix boxes down
>> to NFS version 2.  As of 5.3, SGI had trouble with the 64bit pointers
>> from the DEC machines; this is probably not true of 6.4, but I haven't
>> tried it yet.
>> 
>hmm.. this comment seems like it may have some relevence to 
>a problem that i have with my digital unix machine 
>(OSF1 marmotte V3.2 41 alpha) & it's nfs connection.  the 
>performence is *so* bad. i've been told it might be the 64 bit
>words being passed... another guy told me slow nfs was 
>probably some feature dec though up...

No, between 175 Mhz Alphas I see 9 MByte/sec NFS V3 over UDP and FDDI
to a memory file system (slower than a ramdisk, but MFS can page to
swap space).  Those systems are no longer available, current low end
has much faster CPU.  NFS over TCP is 8 MB/sec, something I suspect
current CPUs would help.

What 64 bit pointers?  If your file sizes are less than 2 GB, you
won't have any trouble with file offsets.  We don't do funny things
with directory cookies, but SGI shouldn't have any trouble if we did
since XFS offers funny cookies.  File data is just a byte stream.  All
this sounds like a smoke screen.  If you have performance data, I'd
like to see it.  The last data I saw was posted to USENET more than 2
years ago and is pretty obsolete.

>anyway.. are there any quick fixes to try?

Buy Alphas.  If you have to use NFS V2, keep in mind that DEC won't
offer async write support, but our write gathering techniques help a
lot.  (The safe async writes of V3 work just fine.)  More biods on the
client and maybe more nfsds on the server can help V2 but aren't as
important for V3.

-- 
  <>    Eric (Ric) Werme   <>    DEC's back!  (As an officially approved  <>
  <>  <werme@zk3.dec.com>  <>     nickname, we're really still DIGITAL.)  <>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-02  4:00   ` Ron Foerch
@ 1997-10-03  4:00     ` Integraphic Inc.
  1997-10-03  4:00     ` Eric Werme
  1 sibling, 0 replies; 8+ messages in thread
From: Integraphic Inc. @ 1997-10-03  4:00 UTC (permalink / raw)



What exact version of DU 3.2 are you running? 3.2d and later include a patched
Tulip driver (i.e. driver for de-500 NIC) that fixes a problem just like the
one you're describing. Has to do with the FIFO threshold parameter that has to
be tuned upwards under increasing load to avoid misaligned packets.

I had the exact same problem about 2 years ago ( *before* that patch got
rolled into the distribution OS) and ended up getting the patch straight from
the Tulip driver programmer at DEC.

Of course if you're not using a DE-500 NIC, this is of no use to you. But,
hey, who knows?

Hope this helps.


_________________________________
Jean-Francois (aka Jeff) Thibault
Integraphic Inc.


Ron Foerch wrote:
> hmm.. this comment seems like it may have some relevence to
> a problem that i have with my digital unix machine
> (OSF1 marmotte V3.2 41 alpha) & it's nfs connection.  the
> performence is *so* bad. i've been told it might be the 64 bit
> words being passed... another guy told me slow nfs was
> probably some feature dec though up...
> 
> anyway.. are there any quick fixes to try?
> 
> Ron Foerch
> 
> NW Numerics & Modeling, Inc.
> http://www.nwnumerics.com/



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dreadful problem with cc + IRIX NFS client + DEC NFS server
  1997-10-01  4:00 dreadful problem with cc + IRIX NFS client + DEC NFS server Mark Bartelt
  1997-10-01  4:00 ` Peter R David
  1997-10-02  4:00 ` Eric Werme
@ 1997-10-09  4:00 ` Mikhail Teterin
  2 siblings, 0 replies; 8+ messages in thread
From: Mikhail Teterin @ 1997-10-09  4:00 UTC (permalink / raw)



We had some hangs here with NFS server running FreeBSD. The C compiler
on SGI tried to lock the file on the server. FreeBSD did not have the
rpc.lockd implemented at that time, so the compiler was hanging.

Using the local locking option helped solve the problem then...

I can not imagine DUnix not having rpc.lockd, but may be they have
a bug in it?

	-mi



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-10-09  4:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-01  4:00 dreadful problem with cc + IRIX NFS client + DEC NFS server Mark Bartelt
1997-10-01  4:00 ` Peter R David
1997-10-02  4:00   ` Ron Foerch
1997-10-03  4:00     ` Integraphic Inc.
1997-10-03  4:00     ` Eric Werme
1997-10-02  4:00   ` Michael Nelson
1997-10-02  4:00 ` Eric Werme
1997-10-09  4:00 ` Mikhail Teterin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox