From owner-freebsd-questions@FreeBSD.ORG Thu Feb 17 12:11:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F22816A4CE for ; Thu, 17 Feb 2005 12:11:09 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0751943D2F for ; Thu, 17 Feb 2005 12:11:09 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with SMTP id B396746B39; Thu, 17 Feb 2005 07:11:08 -0500 (EST) Date: Thu, 17 Feb 2005 12:09:43 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Peter Risdon In-Reply-To: <1108640516.23699.431.camel@lorna.circlesquared.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Simonas Kareiva cc: "freebsd-questions@freebsd.org" Subject: Re: NFS hangs on 5.3-RELEASE-p5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 12:11:09 -0000 On Thu, 17 Feb 2005, Peter Risdon wrote: > On Tue, 2005-02-15 at 14:23 +0200, Simonas Kareiva wrote: > > [...] > > > > The problem is, that the nfs server hangs after running for a while, > > like, 20 minutes. Any file operations (at the nfs mount points and > > below) hang on the ftp server too, making it inaccessible. > > I'm having the same problem here, also with 5.3 but in my case with > rsync. Oddly, the hang often happens at exactly the same point in a file > hierarchy and I initially suspected a problem with some specific files, > then with certain file types (it always seemed to hang when copying > pdfs). But it now seems to be more general than that. In fact, even > periods of inactivity can cause the nfs mount on the client to time out. If you do a "ps axl | grep nfsd", what wait channel is shown for the nfsd that's wedged? If you compile your kernel with "options DDB", "options KDB", and "options BREAK_TO_DEBUGGER", wait for the problem to occur, break into the debugger using ctrl-alt-escape or a serial break on serial console, "trace pid" the process, and type "continue" to get out of the debugger, could you send me the output of the stack trace for the nfsd process? Robert N M Watson