* NFS problems on AlphaServer 1000 OSF/1 3.2
@ 1995-07-14 4:00 Timothy M. Wieman
1995-07-18 4:00 ` Helin Jukka
1995-07-19 4:00 ` Eric Werme
0 siblings, 2 replies; 10+ messages in thread
From: Timothy M. Wieman @ 1995-07-14 4:00 UTC (permalink / raw)
This one has us baffled, as well as DEC :-<
We're exporting some directories on our AlphaServer 1000 4/200 running
OSF/1 3.2. Other machines on the network can mount the directories just
fine, but major accessing of the mounted directories causes the nfs
server on the Alpha to hang.
On an AIX box, doing a tar of of the mounted directories works
fine for a bit, but then it starts timeing out. If the tar process
isn't stopped, nfs on the Alpha will really hose up, to where no system
can access it's exports. If further left unchecked, the whole system on
the Alpha will effectively lock up -- you can't log in, xterms die, and
the console even locks. It was left like this for a couple hours
yesterday, before we gave up and halted it.
On a UnixWare box, trying to copy a large file to a mounted directory
on the Alpha causes nfs on the Alpha to hang to where no one can access
it. I tried killing the 'cp', but it stays in the process list.
The file being copied to the Alpha doesn't show up AT ALL on the
Alpha until (after the system locks up) it is rebooted (and then it is 0
length).
We have a PCI ethernet card using DEC's Tulip interface. We received a
kernel patch for it, but it didn't help.
We're running 'mountd -n -i', 'nfsd' with 8 threads, and 7 'nfsiod's.
'uerf' contains NO error messages ('uerf' just shows system startup as
the last entry). And viewing netstat before the system locks shows < 10
errors and only a small percentage of collisions.
Sorry for the long-windedness, but I thought the more info, the better.
We're baffled. Has anyone else had similar problems? I saw a post not
long ago about poor performance on an OSF/1 NFS server, but nothing like this.
Any help/comments would be GREATLY appreciated.
TIA, Tim
--
------------------------------------------------------------------------
Timothy M. Wieman | Software Engineer
|
timw@hces.com | PACE Health Management Systems, Inc.
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-14 4:00 NFS problems on AlphaServer 1000 OSF/1 3.2 Timothy M. Wieman
@ 1995-07-18 4:00 ` Helin Jukka
1995-07-19 4:00 ` Eric Werme
` (2 more replies)
1995-07-19 4:00 ` Eric Werme
1 sibling, 3 replies; 10+ messages in thread
From: Helin Jukka @ 1995-07-18 4:00 UTC (permalink / raw)
Timothy M. Wieman (timw@isac.hces.com) wrote:
: This one has us baffled, as well as DEC :-<
: We're exporting some directories on our AlphaServer 1000 4/200 running
: OSF/1 3.2. Other machines on the network can mount the directories just
: fine, but major accessing of the mounted directories causes the nfs
: server on the Alpha to hang.
After we upgraded our NFS server (DEC 3000/900 AXP) from V3.0 to V3.2A we
found that requests on all of our NFS clients hang every now and then.
We have to reboot our server about every three days. It seems that
when the NFS load becomes high enough the nfsd daemon on the server hangs
and this stops all the NFS requests to be served. Otherwise the server
works ok. Furthermore, killing nfsd is impossible, the machine does not
shut down because nfsd does not die and hard reset is the only thing we
can do for the server. After the reboot the server works again ok and
all of NFS clients continue if they have waited for the disk of the server
but the server hangs again later.
I reported this earlier in this newsgroup and got a few suggestions
that Suns or IBM's using NFS V2 protocol could cause the problem.
I removed all non-OSF/1 NFS clients to test this but the NFS server
still hangs. I reported this also to DEC but all they can say is that
they do not have a patch for this!
The fastest way to get your NFS server to work is to downgrade to V3.0
(if your applications let you do this) where the NFS server daemon (nfsd)
implementation is different from V3.2.
BTW, we have upgraded OSF/1 V1.2->V1.3->V2.1->V3.0->V3.2A and all
upgrades except V1.2->V1.3 have caused us a lot of trouble: some
of the applications stop working, machice crashes and panics, weak
performance, hangs etc. In my opinion V1.3 has been the most stable
version, after that DEC has been too busy to include new features
into their operating system that they have forgot what the
reliability means for their customers.
Jukka Helin
R&D Manager
Tampere University of Technology
Institute of Advanced Computing
P.O.Box 692, SF-33101 Tampere, FINLAND
tel. +358-31-316 2388, fax +358-31-316 2172
email helin@cc.tut.fi
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-18 4:00 ` Helin Jukka
@ 1995-07-19 4:00 ` Eric Werme
1995-07-20 4:00 ` Helin Jukka
1995-07-21 4:00 ` Thomas Leitner
1995-07-27 4:00 ` Daniel S. Riley
2 siblings, 1 reply; 10+ messages in thread
From: Eric Werme @ 1995-07-19 4:00 UTC (permalink / raw)
helin@alpha.cc.tut.fi (Helin Jukka) writes:
>After we upgraded our NFS server (DEC 3000/900 AXP) from V3.0 to V3.2A we
>found that requests on all of our NFS clients hang every now and then.
>We have to reboot our server about every three days. It seems that
>when the NFS load becomes high enough the nfsd daemon on the server hangs
>and this stops all the NFS requests to be served. Otherwise the server
>works ok. Furthermore, killing nfsd is impossible, the machine does not
>shut down because nfsd does not die and hard reset is the only thing we
>can do for the server. After the reboot the server works again ok and
>all of NFS clients continue if they have waited for the disk of the server
>but the server hangs again later.
There's a chance that this is due to a race in UFS code. We've only
seen it here on some of our stress test systems, (which may match some
University setups I've seen). You'd have to get a crash dump through
customer support for diagnosis.
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-19 4:00 ` Eric Werme
@ 1995-07-20 4:00 ` Helin Jukka
1995-07-21 4:00 ` Eric Werme
0 siblings, 1 reply; 10+ messages in thread
From: Helin Jukka @ 1995-07-20 4:00 UTC (permalink / raw)
Eric Werme (werme@alingo.zk3.dec.com) wrote:
: helin@alpha.cc.tut.fi (Helin Jukka) writes:
: >After we upgraded our NFS server (DEC 3000/900 AXP) from V3.0 to V3.2A we
: >found that requests on all of our NFS clients hang every now and then.
: >We have to reboot our server about every three days. It seems that
: >when the NFS load becomes high enough the nfsd daemon on the server hangs
: >and this stops all the NFS requests to be served. Otherwise the server
: >works ok. Furthermore, killing nfsd is impossible, the machine does not
: >shut down because nfsd does not die and hard reset is the only thing we
: >can do for the server. After the reboot the server works again ok and
: >all of NFS clients continue if they have waited for the disk of the server
: >but the server hangs again later.
: There's a chance that this is due to a race in UFS code. We've only
: seen it here on some of our stress test systems, (which may match some
: University setups I've seen). You'd have to get a crash dump through
: customer support for diagnosis.
: --
: Eric (Ric) Werme | werme@zk3.dec.com
: Digital Equipment Corp. | This space intentionally left blank.
The NFS server do not crash. It works ok except nfsd daemon stops
serving clients.
All we know is that when the MBUF parameter in 'vmstat -M' command
grows over 50,000 nfsd hangs:
% grep MBUF *Jul.14_22.[4,5]* # on the server
vmstat_alpha_Jul.14_22.40.41:MBUF = 12032 MCLUSTER = 303104 SOCKET = 42752
vmstat_alpha_Jul.14_22.41.44:MBUF = 11520 MCLUSTER = 294912 SOCKET = 42752
vmstat_alpha_Jul.14_22.43.03:MBUF = 16384 MCLUSTER = 368640 SOCKET = 42752
vmstat_alpha_Jul.14_22.44.35:MBUF = 15872 MCLUSTER = 360448 SOCKET = 42752
vmstat_alpha_Jul.14_22.46.19:MBUF = 40192 MCLUSTER = 1228800 SOCKET = 43008
vmstat_alpha_Jul.14_22.47.21:MBUF = 81408 MCLUSTER = 2441216 SOCKET = 42752
vmstat_alpha_Jul.14_22.48.23:MBUF = 147200 MCLUSTER = 4317184 SOCKET = 42752
vmstat_alpha_Jul.14_22.49.23:MBUF = 223744 MCLUSTER = 6520832 SOCKET = 42752
vmstat_alpha_Jul.14_22.50.32:MBUF = 291584 MCLUSTER = 8470528 SOCKET = 42752
vmstat_alpha_Jul.14_22.51.33:MBUF = 334080 MCLUSTER = 9691136 SOCKET = 42752
vmstat_alpha_Jul.14_22.53.00:MBUF = 334080 MCLUSTER = 9691136 SOCKET = 43520
vmstat_alpha_Jul.14_22.54.34:MBUF = 334592 MCLUSTER = 9699328 SOCKET = 42752
vmstat_alpha_Jul.14_22.55.43:MBUF = 334080 MCLUSTER = 9691136 SOCKET = 42752
vmstat_alpha_Jul.14_22.57.03:MBUF = 334592 MCLUSTER = 9691136 SOCKET = 43520
vmstat_alpha_Jul.14_22.58.13:MBUF = 334080 MCLUSTER = 9691136 SOCKET = 44288
vmstat_alpha_Jul.14_22.59.13:MBUF = 334080 MCLUSTER = 9691136 SOCKET = 43008
% tail -1000 /var/adm/messages | more # on the client
Jul 14 22:40:16 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:40:36 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:40:39 delta vmunix: NFS3 server alpha ok
Jul 14 22:40:48 delta vmunix: NFS3 server alpha ok
Jul 14 22:41:00 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:41:01 delta vmunix: NFS3 server alpha ok
Jul 14 22:41:01 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:41:01 delta vmunix: NFS3 server alpha ok
Jul 14 22:41:05 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:41:05 delta vmunix: NFS3 server alpha ok
Jul 14 22:43:22 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:43:23 delta vmunix: NFS3 server alpha ok
Jul 14 22:43:33 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:43:33 delta vmunix: NFS3 server alpha ok
Jul 14 22:44:00 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:44:11 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:44:34 delta vmunix: NFS3 server alpha ok
Jul 14 22:44:34 delta vmunix: NFS3 server alpha ok
Jul 14 22:45:36 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:45:37 delta vmunix: NFS3 server alpha ok
Jul 14 22:46:07 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:46:13 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:46:18 delta vmunix: NFS3 server alpha ok
Jul 14 22:46:19 delta vmunix: NFS3 server alpha ok
Jul 14 22:47:16 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:47:21 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 22:49:30 delta vmunix: NFS3 server alpha not responding still trying
Jul 14 23:05:11 delta vmunix: NFS3 server alpha not responding still trying
Jul 15 00:22:23 delta vmunix: NFS3 server alpha not responding still trying
Jul 15 03:11:49 delta vmunix: NFS3 server alpha not responding still trying
Jul 15 13:52:15 delta vmunix: NFS3 server alpha not responding still trying
Jul 16 20:00:39 delta vmunix: NFS3 server alpha not responding still trying
Jul 17 10:17:54 delta vmunix: NFS3 server alpha not responding still trying
Jul 17 12:01:12 delta vmunix: NFS3 server alpha not responding still trying
Jul 17 14:17:23 delta vmunix: NFS3 server alpha ok # alpha rebooted
Server nfs:
calls badcalls
nfsstat_alpha_Jul.14_22.40.41:10579536 0
nfsstat_alpha_Jul.14_22.41.44:10581907 0
nfsstat_alpha_Jul.14_22.43.03:10583962 0
nfsstat_alpha_Jul.14_22.44.35:10586051 0
nfsstat_alpha_Jul.14_22.46.19:10587949 0 # hangs
nfsstat_alpha_Jul.14_22.47.21:10588773 0 # now
nfsstat_alpha_Jul.14_22.48.23:10588773 0
nfsstat_alpha_Jul.14_22.49.23:10588773 0
-- Jukka Helin
helin@cc.tut.fi
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-20 4:00 ` Helin Jukka
@ 1995-07-21 4:00 ` Eric Werme
0 siblings, 0 replies; 10+ messages in thread
From: Eric Werme @ 1995-07-21 4:00 UTC (permalink / raw)
helin@alpha.cc.tut.fi (Helin Jukka) writes:
>The NFS server do not crash. It works ok except nfsd daemon stops
>serving clients.
>All we know is that when the MBUF parameter in 'vmstat -M' command
>grows over 50,000 nfsd hangs:
Sounds like the AIX ACL problem I mentioned in another thread. If you
have AIX clients, mount OSF file systems with -o noacl or get our patch
for that (it fixes a wide class of similar problems).
If you want to figure out what's going on, get some tcpdump traces of
UDP port 2049 activity. (Though the tcpdump in V3.2 may produce some
confusing output.)
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-18 4:00 ` Helin Jukka
1995-07-19 4:00 ` Eric Werme
@ 1995-07-21 4:00 ` Thomas Leitner
1995-07-27 4:00 ` Daniel S. Riley
2 siblings, 0 replies; 10+ messages in thread
From: Thomas Leitner @ 1995-07-21 4:00 UTC (permalink / raw)
Helin Jukka (helin@alpha.cc.tut.fi) wrote:
: Timothy M. Wieman (timw@isac.hces.com) wrote:
: : This one has us baffled, as well as DEC :-<
: : We're exporting some directories on our AlphaServer 1000 4/200 running
: : OSF/1 3.2. Other machines on the network can mount the directories just
: : fine, but major accessing of the mounted directories causes the nfs
: : server on the Alpha to hang.
[...]
: The fastest way to get your NFS server to work is to downgrade to V3.0
: (if your applications let you do this) where the NFS server daemon (nfsd)
: implementation is different from V3.2.
Why not just try to copy the /usr/sbin/nfsd file from an V3.0 machine and use
it under V3.2?
Tom
--
Tom Leitner, tom@finwds01.tu-graz.ac.at |\ _,,,---,,_
Dept. of Communications zzz. /,`.-'`' -. ;-;;,_.
Graz University of Technology |,4- ) )-,_. ,\ ( `'-'
Inffeldgasse 12 '---''(_/--' `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-18 4:00 ` Helin Jukka
1995-07-19 4:00 ` Eric Werme
1995-07-21 4:00 ` Thomas Leitner
@ 1995-07-27 4:00 ` Daniel S. Riley
1995-07-27 4:00 ` Andrew Gallatin
2 siblings, 1 reply; 10+ messages in thread
From: Daniel S. Riley @ 1995-07-27 4:00 UTC (permalink / raw)
In article <3unuq7$idm@fstgds15.tu-graz.ac.at>,
tom@finwds01.tu-graz.ac.at (Thomas Leitner) writes:
tom> Why not just try to copy the /usr/sbin/nfsd file from an V3.0
tom> machine and use it under V3.2?
Much of the implementation of nfsd is in the kernel; the daemon is
largely there to provide a process context for the kernel to do
various things in. Mixing nfsd between versions can be a recipe for
disaster, especially if the implementation changed significantly
between versions (as it did between 3.0 and 3.2).
--
Dan Riley Internet: dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr)
"Distance means nothing/To me." -Kate Bush
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-27 4:00 ` Daniel S. Riley
@ 1995-07-27 4:00 ` Andrew Gallatin
1995-07-31 4:00 ` Eric Werme
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Gallatin @ 1995-07-27 4:00 UTC (permalink / raw)
In article <DSR.95Jul27141942@lns100.lns.cornell.edu>,
Daniel S. Riley <dsr@lns598.lns.cornell.edu> wrote:
> Mixing nfsd between versions can be a recipe for
>disaster, especially if the implementation changed significantly
>between versions (as it did between 3.0 and 3.2).
What's changed from 3.0 -> 3.2? The nfsd(8) man page talks about the
nfsd daemons being implemented as kernel threads. Is this it?
Also, does this mean that only one nfsd is woken up to service a
request, as opposed to all of them? If so, I assume that this means
that its no longer necessary to worry about running too many nfsd's
and taking a performance hit when they all wake up together to service
a single request & all but one then go back to sleep.
Drew
##############################################################################
# Andrew Gallatin, Computer Project Manager #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
##############################################################################
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-27 4:00 ` Andrew Gallatin
@ 1995-07-31 4:00 ` Eric Werme
0 siblings, 0 replies; 10+ messages in thread
From: Eric Werme @ 1995-07-31 4:00 UTC (permalink / raw)
gallatin@cole.isds.duke.edu (Andrew Gallatin) writes:
>What's changed from 3.0 -> 3.2? The nfsd(8) man page talks about the
>nfsd daemons being implemented as kernel threads. Is this it?
There may be more in the release notes. Not too much happened to the
client. Server changes were largely driven to improve SMP performance
and required few documentation changes.
On the output side, we got the Sun fastsend path running. This takes
kernel RPC messages (so it does include the NFS client) and creates
its own UDP and IP headers, fragmenting as it goes. The fragments are
then delivered to code that puts on the Ether/FDDI/whatever headers and
puts them on the driver output queue. Not only is this faster, it
avoids several socket locks and an absolutely awful BSD TCP/IP
output problem that stops UDP *input* processing while a message is being
sent to a destination on an "unconnected" UDP socket. (The destination
IP address gets stuffed in the protocol control block in the same area
where input processing looks to match message and socket!) On the
server input side we intercept messages before udp_input() has even checksummed
the messages and put them on a queue of NFS messages. The server threads
pick them up, checksums them (thereby getting the data in the cache of the
processor that will be using it) and passes them straight to NFS code that
calls an RPC routine to decode them before passing them to the service
routine. About the only thing the server needs the socket for is to keep port
2049 from being allocated by something else.
>Also, does this mean that only one nfsd is woken up to service a
>request, as opposed to all of them?
Digital Unix has never woken up all the server threads/daemons to process
each request!
The main things the server threads buy us are lower memory cost (each thread
needs two pages of memory) and quicker context switch time (less page
table setup).
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: NFS problems on AlphaServer 1000 OSF/1 3.2
1995-07-14 4:00 NFS problems on AlphaServer 1000 OSF/1 3.2 Timothy M. Wieman
1995-07-18 4:00 ` Helin Jukka
@ 1995-07-19 4:00 ` Eric Werme
1 sibling, 0 replies; 10+ messages in thread
From: Eric Werme @ 1995-07-19 4:00 UTC (permalink / raw)
timw@isac.hces.com (Timothy M. Wieman) writes:
>On an AIX box, doing a tar of of the mounted directories works
>fine for a bit, but then it starts timeing out. If the tar process
>isn't stopped, nfs on the Alpha will really hose up, to where no system
>can access it's exports. If further left unchecked, the whole system on
>the Alpha will effectively lock up -- you can't log in, xterms die, and
>the console even locks. It was left like this for a couple hours
>yesterday, before we gave up and halted it.
There should be a patch for that on V3.2, it should not be a problem
on V3.0. (At least, I think th epatch is available.) A work around
is to mount with "-o noacl" on AIX systems.
>On a UnixWare box, trying to copy a large file to a mounted directory
>on the Alpha causes nfs on the Alpha to hang to where no one can access
>it. I tried killing the 'cp', but it stays in the process list.
>The file being copied to the Alpha doesn't show up AT ALL on the
>Alpha until (after the system locks up) it is rebooted (and then it is 0
>length).
This may or may not be the same.
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1995-07-31 4:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-14 4:00 NFS problems on AlphaServer 1000 OSF/1 3.2 Timothy M. Wieman
1995-07-18 4:00 ` Helin Jukka
1995-07-19 4:00 ` Eric Werme
1995-07-20 4:00 ` Helin Jukka
1995-07-21 4:00 ` Eric Werme
1995-07-21 4:00 ` Thomas Leitner
1995-07-27 4:00 ` Daniel S. Riley
1995-07-27 4:00 ` Andrew Gallatin
1995-07-31 4:00 ` Eric Werme
1995-07-19 4:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox