Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 21:45:00 -0500 (EST)
From:      "Jason M. Leonard" <fuzz@ldc.upenn.edu>
To:        current@freebsd.org
Subject:   Re: NFS: Processes marked "in disk"
Message-ID:  <20040120213110.J1399@lorax.ldc.upenn.edu>
In-Reply-To: <Pine.NEB.3.96L.1040120202652.53972C-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1040120202652.53972C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 20 Jan 2004, Robert Watson wrote:

> On Tue, 20 Jan 2004, Namik Dala wrote:
>
> > I've upgraded to 5.2-RELEASE last days. Now NFS seems to be
> > broken. There is an NFS server and 2 NFS clients. The /home
> > partition is shared. If I start mutt on an NFS client it wants to
> > read the default mailbox (over NFS) and hangs:
> >
> > $ ps -auxww | fgrep mutt
> > namik 71553  0.0  1.0  4221 2312  p7  D+    1:50AM   0:00.75 mutt
> >
> > Is this a known problem? And is there a workaround?
>
> Questions:
>
> (1) Are you using rpc.lockd on the client?  Server?  Are both clinet and
>     server running 5.2-R?  Are you using NFS over UDP, over TCP; NFSv2 or
>     NFSv3?
>
> (2) Could you show the output of "ps -axl" for hung processes?  Might also
>     be interesting to have you recompile the kernel with "options DDB"
>     and "options BREAK_TO_DEBUGGER".  When a process hangs on the client,
>     hit ctrl-alt-escape (or serial break on serial console), then type in
>     'trace pid', substituting the pid of the process in question.
>
> There are some known issues involving NFS, most of them involving
> rpc.lockd.  There are some other reports of NFS problems, but they've been
> hard to track down, as they appear to be very sensitive to the local
> configuration.

For what it's worth, I am seeing something similar.  Client and server are
both 5.2-R, NFSv3, TCP.  Killing rpc.lockd on the client unhangs the
process.

32822  1478  1398   0  96  0  5556 3892 lockd  D+    p1    0:00.17 pine

If this is of interest, I can recompile as suggested above and post the
output.


:Fuzz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040120213110.J1399>