NetBSD Problem Report #29528

From mishka@apk.od.ua  Fri Feb 25 12:39:29 2005
Return-Path: <mishka@apk.od.ua>
Received: from relay.apk.od.ua (insaharprom-k.TeNeT.Odessa.UA [195.138.79.154])
	by narn.netbsd.org (Postfix) with ESMTP id 2568763B843
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 25 Feb 2005 12:39:25 +0000 (UTC)
Message-Id: <200502251239.j1PCdAvs026011@nostromo.holding.local>
Date: Fri, 25 Feb 2005 14:39:10 +0200 (EET)
From: mishka@apk.od.ua
Reply-To: mishka@apk.od.ua
To: gnats-bugs@netbsd.org
Subject: NFS locks on UDP transport
X-Send-Pr-Version: 3.95

>Number:         29528
>Category:       kern
>Synopsis:       NFS locks on UDP transport
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 25 12:40:00 +0000 2005
>Last-Modified:  Wed Jul 27 14:52:01 +0000 2005
>Originator:     Mike M. Volokhov
>Release:        NetBSD 2.0
>Organization:
ISPK
>Environment:
NetBSD betty.holding.local 2.0_STABLE NetBSD 2.0_STABLE (BETTY-$Revision: 1.7 $) #1: Fri Feb 18 12:30:25 EET 2005 mishka@nostromo.holding.local:/build/netbsd/src-2/sys/arch/i386/compile/BETTY i386
Architecture: i386
Machine: i386
>Description:

	Greetings!

	After recent upgarde to 2.0_STABLE (18 Feb 2005) from 2.0
	(27 Jan 2005) my NFS mounts on updated machine very often
	(several times per day or even per hour) hangs with "nfsrcvlk"
	state. This host used as NFS server and client, and deadlocks
	happens for both remote and exported local mounts.

	Seems it occurs when data are sent to remotes only, i.e.
	during reading by clients or writing to server, but this
	is not exactly.

	A "-bis" flags are used for all mounts.

	NFS server and clients are all on local network.

>How-To-Repeat:

	Upgrade OS to latest netbsd-2 branch. The run NFS server
	or mount remote filesystem using UDP transport. Create a
	huge traffic in way from NetBSD 2.0 to remote peer.

>Fix:

	Seems this problem may be workarounded by switching to TCP
	transport, i.e. using "-Tbis" flags to mount_nfs.

	Please let me know if you will need any additional info.

	--
	Best regards,
	Mishka.

>Audit-Trail:
From: "Mike M. Volokhov" <mishka@apk.od.ua>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/29528
Date: Wed, 2 Mar 2005 16:18:14 +0200

 Well, this problem is likely the same as kern/26209 and other refered
 there PRs.

 --
 Mishka.

From: "Mike M. Volokhov" <mishka@apk.od.ua>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/29528
Date: Wed, 27 Jul 2005 17:51:35 +0300

 Well, using TCP transport it halts too. Seems not so often, as with UDP
 one, but there is. :-(

 --
 Mishka.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.