Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 20:03:31 -0700 (PDT)
From:      zhaifeng <coolunixer@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/43954: nfs-blocked process can't return or be interrupted or be killed
Message-ID:  <200210120303.g9C33Veq073370@www.freebsd.org>

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

>Number:         43954
>Category:       misc
>Synopsis:       nfs-blocked process can't return or be interrupted or be killed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 11 20:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     zhaifeng
>Release:        freebsd 4.6,freebsd 4.5,freebsd 3.4,freebsd 3.5
>Organization:
xinnet
>Environment:
reeBSD 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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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