NFS Locking Issue

Kostik Belousov kostikbel at gmail.com
Mon Jul 3 09:48:45 UTC 2006


On Mon, Jul 03, 2006 at 10:06:52AM +0100, Robert Watson wrote:
> 
> On Mon, 3 Jul 2006, Kostik Belousov wrote:
> 
> >On Mon, Jul 03, 2006 at 12:50:11AM -0400, Francisco Reyes wrote:
> >>Kostik Belousov writes:
> >>>Since nobody except you experience that problems (at least, only you
> >>>notified
> >>>about the problem existence)
> >>
> >>Did you miss the part of:
> >>
> >>>User Freebsd writes:
> >>>>Since there are several of us experiencing what looks to be the same 
> >>>>sort
> >>>>of deadlock issue, I beseech you not to give up
> >>
> >>I am not the only one reporting or having the issue.
> >I think you have different issues.
> 
> I agree.  It looks like we have several issues floating around.  There are 
> some known issues with rpc.lockd (and probably some unknown ones) that will 
> require a concerted effort to resolve.  There appear to be a number of 
> reports relating to this/these problems.
> 
> It sounds like there is also an NFS client race condition or other bug of 
> some sort.
> 
> I think it would be really useful to isolate the two during debugging. 
> Specifically, to make sure that the second client bug is reproduceable 
> without rpc.lockd running on the client (and related mount flags).  Once we 
> have some more information, such as vnode locking information, client 
> thread stack traces, etc, we should probably get Mohan in the loop if 
> things seem sticky. I believe he was on vacation last week; he may be back 
> this week sometime. With the July 4 weekend afoot, a lot of .us developers 
> are offline.
I too did noted some time ago that unresposible nfs server takes
nfs client down. I then looked at the issue, and have the impression
that this is again the case of runningbufspace depletion. I got a lot
of processes in wdrain and flswai states. After nfs server repaired,
active write requests were executed, number of dirty buffers decreased,
and system returned to normal operation.

This seems to be an architectural issue. I tried to bring discussion up
several month ago, but got no response.

And, there is the small problem about SIGINT being ignored when mounted
with intr flag. Patch to fix this is attached in my previous mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060703/b48db07f/attachment.pgp


More information about the freebsd-stable mailing list