From nobody@FreeBSD.org  Fri Oct 11 20:03:31 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AC8FA37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 69E2E43E75
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9C33V7R073371
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9C33Veq073370;
	Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
Message-Id: <200210120303.g9C33Veq073370@www.freebsd.org>
Date: Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
From: zhaifeng <coolunixer@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nfs-blocked process can't return or be interrupted or be killed
X-Send-Pr-Version: www-1.0

>Number:         43954
>Category:       kern
>Synopsis:       [nfs] nfs-blocked process can't return or be interrupted or be killed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 11 20:10:01 PDT 2002
>Closed-Date:    Sat Mar 01 20:09:55 UTC 2008
>Last-Modified:  Sat Mar 01 20:09:55 UTC 2008
>Originator:     zhaifeng
>Release:        freebsd 4.6,freebsd 4.5,freebsd 3.4,freebsd 3.5
>Organization:
xinnet
>Environment:
FreeBSD mail-2-g2.chinadns.com 4.5-RELEASE-p20 FreeBSD 4.5-RELEASE-p20 #1: Tue Sep 17 20:39:16 CST 2002     root@103.chinadns.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
i have a nfs server and a client,server is running linux,client is
running freebsd.I find when server is busy or not available,some process
on client will block because of nfs.these process be marked with 'D' or
'DL' when i run command 'ps ax'.i try to kill them using command 'kill
 -9',but not work,even though reboot system,the system can not reboot
automaticly because some process cann't teminate.i also try to mount
client with options intr,soft and so on,but problem is as before.how 
    
>How-To-Repeat:
my nfs server(IP:10.0.0.1) is a RedHat 7.3 with kernel of 2.4.19 version,
my nfs client(IP:10.0.0.2) is freebsd 4.5
10.0.0.2:

mount_nfs -i -R 1 -s 10.0.0.1:/home /usr/home
cp a_big_file /usr/home

in the course of doing this,i disabled network between these two machine
by using iptables in 10.0.0.1

/sbin/iptables -I INPUT -p udp -s 10.0.0.2 -j DROP

so the process 'cp' in 10.0.0.2 is blocked,I can't kill or interrupt it
in any way.According to mount_nfs's manual ,it should failed and return
in a few minutes because i set -R equal to 1 and set interruptalbe,but
the fact is not.

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cel 
Responsible-Changed-By: cel 
Responsible-Changed-When: Fri May 12 18:46:25 UTC 2006 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=43954 
Responsible-Changed-From-To: cel->freebsd-bugs 
Responsible-Changed-By: cel 
Responsible-Changed-When: Mon Mar 12 15:28:59 UTC 2007 
Responsible-Changed-Why:  
Back to the public pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43954 
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 02:51:21 UTC 2007 
State-Changed-Why:  

Likely stale. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43954 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Mar 1 20:09:37 UTC 2008 
State-Changed-Why:  
Feedback timeout (> 6 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43954 
>Unformatted:
Is this reproducible on RELENG_6?
