tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* NFS server hangup
@ 2003-12-31 21:30 Graham Allan
  2004-01-01 22:32 ` NFS server hangup: addition Graham Allan
  2004-01-21 19:16 ` SUMMARY: NFS server hangup Graham Allan
  0 siblings, 2 replies; 3+ messages in thread
From: Graham Allan @ 2003-12-31 21:30 UTC (permalink / raw)


New Years Eve probably isn't the optimum time to be looking for
answers, but twice in the last couple of days our main NFS server has
hung up. It's a DS20 (2/500) with 2.5G memory, Tru64 v5.1A PK4. Logging
in to the server, things appear more or less normal but all clients
report "NFS server xxx not responding" - we normally see this
occasionally, but in this case it never recovers.

Running /sbin/init.d/nfs stop/start fails to recover. syslog shows:

Dec 31 15:03:55 spartha nfsd:[111457]: Can't bind UDP addr: Address already in use

probably because if I look at the output of "ps", I see "nfsd" in state
"U" - the old nfsd is failing to exit. Unfortunately I don't know what
state it was in before I tried stopping it...

Finally, halting the system also fails - it hangs (no messages visible
- blue screen after X shuts down).

I probably should also have looked at the output of "ps axml" to see
the state of the kernel threads, but I only looked at this part of the
man page after restarting, so will have to wait for next time...

The server does have a lot of NFS clients. It was running with 32 each
of TCP/UDP clients, though as most of the clients are UDP, I may reduce
the TCP thread count and raise UDP.

Some local software (in /usr/local) was updated over the past few days
- things like perl, openssl, stunnel, and so on - but it's hard for me
to image how that could be related.

Any ideas on a possible cause (or solution)?

G.
-- 
-------------------------------------------------------------------------
Graham Allan - I.T. Manager - gta@umn.edu - (612) 624-5040
School of Physics and Astronomy - University of Minnesota
-------------------------------------------------------------------------


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

* NFS server hangup: addition
  2003-12-31 21:30 NFS server hangup Graham Allan
@ 2004-01-01 22:32 ` Graham Allan
  2004-01-21 19:16 ` SUMMARY: NFS server hangup Graham Allan
  1 sibling, 0 replies; 3+ messages in thread
From: Graham Allan @ 2004-01-01 22:32 UTC (permalink / raw)


To add a little more to this issue - it seems to have happened again
today, and running "ps axml" to look at NFS threads lists *no* nfs_udp
threads. There are nfs_tcp threads still present, but what could have
caused the UDP ones to disappear?

Graham

On Wed, Dec 31, 2003 at 03:30:56PM -0600, Graham Allan wrote:
> New Years Eve probably isn't the optimum time to be looking for
> answers, but twice in the last couple of days our main NFS server has
> hung up. It's a DS20 (2/500) with 2.5G memory, Tru64 v5.1A PK4. Logging
> in to the server, things appear more or less normal but all clients
> report "NFS server xxx not responding" - we normally see this
> occasionally, but in this case it never recovers.
> 
> Running /sbin/init.d/nfs stop/start fails to recover. syslog shows:
> 
> Dec 31 15:03:55 spartha nfsd:[111457]: Can't bind UDP addr: Address already in use
> 
> probably because if I look at the output of "ps", I see "nfsd" in state
> "U" - the old nfsd is failing to exit. Unfortunately I don't know what
> state it was in before I tried stopping it...
> 
> Finally, halting the system also fails - it hangs (no messages visible
> - blue screen after X shuts down).
> 
> I probably should also have looked at the output of "ps axml" to see
> the state of the kernel threads, but I only looked at this part of the
> man page after restarting, so will have to wait for next time...
> 
> The server does have a lot of NFS clients. It was running with 32 each
> of TCP/UDP clients, though as most of the clients are UDP, I may reduce
> the TCP thread count and raise UDP.
> 
> Some local software (in /usr/local) was updated over the past few days
> - things like perl, openssl, stunnel, and so on - but it's hard for me
> to image how that could be related.
> 
> Any ideas on a possible cause (or solution)?
> 
> G.
> -- 
> -------------------------------------------------------------------------
> Graham Allan - I.T. Manager - gta@umn.edu - (612) 624-5040
> School of Physics and Astronomy - University of Minnesota
> -------------------------------------------------------------------------

-- 
-------------------------------------------------------------------------
Graham Allan - I.T. Manager - gta@umn.edu - (612) 624-5040
School of Physics and Astronomy - University of Minnesota
-------------------------------------------------------------------------


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

* SUMMARY: NFS server hangup
  2003-12-31 21:30 NFS server hangup Graham Allan
  2004-01-01 22:32 ` NFS server hangup: addition Graham Allan
@ 2004-01-21 19:16 ` Graham Allan
  1 sibling, 0 replies; 3+ messages in thread
From: Graham Allan @ 2004-01-21 19:16 UTC (permalink / raw)


I got this resolved with the help of HP support. The NFS kernel threads
wreen't disappearing completely, but were getting hung up in a way that
left them without any name in the output from "ps". From looking at a
system dump, they were able to tell me that all the threads were
waiting on a auxiliary lock on a particular file domain. sys_check had
been telling us for some time that the BMT was heavily fragmented on
this domain (but "defragment" doesn't cure this; it requires a
backup/restore cycle which isn't very convenient on a large RAID
array). Nevertheless, running defragment did have enough effect that it
hasn't happened again. We also updated to PK6; while not sure if there
are any specific fixes for this problem included, it will be easier to
escalate the case if it reoccurs.

Graham

On Wed, Dec 31, 2003 at 03:30:56PM -0600, Graham Allan wrote:
> New Years Eve probably isn't the optimum time to be looking for
> answers, but twice in the last couple of days our main NFS server has
> hung up. It's a DS20 (2/500) with 2.5G memory, Tru64 v5.1A PK4. Logging
> in to the server, things appear more or less normal but all clients
> report "NFS server xxx not responding" - we normally see this
> occasionally, but in this case it never recovers.
> 
> Running /sbin/init.d/nfs stop/start fails to recover. syslog shows:
> 
> Dec 31 15:03:55 spartha nfsd:[111457]: Can't bind UDP addr: Address already in use
> 
> probably because if I look at the output of "ps", I see "nfsd" in state
> "U" - the old nfsd is failing to exit. Unfortunately I don't know what
> state it was in before I tried stopping it...
> 
> Finally, halting the system also fails - it hangs (no messages visible
> - blue screen after X shuts down).
> 
> I probably should also have looked at the output of "ps axml" to see
> the state of the kernel threads, but I only looked at this part of the
> man page after restarting, so will have to wait for next time...
> 
> The server does have a lot of NFS clients. It was running with 32 each
> of TCP/UDP clients, though as most of the clients are UDP, I may reduce
> the TCP thread count and raise UDP.
> 
> Some local software (in /usr/local) was updated over the past few days
> - things like perl, openssl, stunnel, and so on - but it's hard for me
> to image how that could be related.
> 
> Any ideas on a possible cause (or solution)?


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

end of thread, other threads:[~2004-01-21 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-31 21:30 NFS server hangup Graham Allan
2004-01-01 22:32 ` NFS server hangup: addition Graham Allan
2004-01-21 19:16 ` SUMMARY: NFS server hangup Graham Allan

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