From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Graham Allan Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: NFS server hangup Date: Wed, 21 Jan 2004 13:16:26 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20040121191626.GB39997@crail.spa.umn.edu> References: <20031231213056.GE43023@crail.spa.umn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074712629 2175 80.91.224.253 (21 Jan 2004 19:17:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2004 19:17:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jan 21 20:16:56 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AjNqR-0000m9-00 for ; Wed, 21 Jan 2004 20:16:55 +0100 Original-Received: (qmail 6511 invoked by uid 5); 21 Jan 2004 19:16:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6496 invoked by uid 49493); 21 Jan 2004 19:16:47 -0000 Original-Received: from allan@physics.umn.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-9.5/5.0):. Processed in 11.69042 secs); 21 Jan 2004 19:16:47 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 21 Jan 2004 19:16:35 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRU00C12TJK9M@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Jan 2004 14:16:33 -0500 (EST) Original-Received: from spartha.spa.umn.edu (spartha.spa.umn.edu [128.101.220.23]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRU00C3HTJE4L@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Jan 2004 14:16:27 -0500 (EST) Original-Received: from crail.spa.umn.edu (crail.spa.umn.edu [128.101.220.148]) by spartha.spa.umn.edu (8.12.10/8.12.10) with ESMTP id i0LJGQAb444089 for ; Wed, 21 Jan 2004 13:16:26 -0600 (CST) Original-Received: (from allan@localhost) by crail.spa.umn.edu (8.11.6-20030922/8.11.6) id i0LJGQD40027 for tru64-unix-managers@ornl.gov; Wed, 21 Jan 2004 13:16:26 -0600 (CST) In-reply-to: <20031231213056.GE43023@crail.spa.umn.edu> Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline User-Agent: Mutt/1.4.1i Xref: main.gmane.org gmane.os.tru64.managers:6263 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6263 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)?