From nobody@FreeBSD.ORG Thu May  6 00:38:53 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 3A87114DDB; Thu,  6 May 1999 00:38:53 -0700 (PDT)
Message-Id: <19990506073853.3A87114DDB@hub.freebsd.org>
Date: Thu,  6 May 1999 00:38:53 -0700 (PDT)
From: amor@eos.ubc.ca
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: NFS v3 locks up on large file transfers
X-Send-Pr-Version: www-1.0

>Number:         11533
>Category:       kern
>Synopsis:       NFS v3 locks up on large file transfers
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    dillon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 00:40:00 PDT 1999
>Closed-Date:    Wed Sep 29 19:27:29 PDT 1999
>Last-Modified:  Wed Sep 29 19:27:48 PDT 1999
>Originator:     John Amor
>Release:        release 3.1
>Organization:
Earth & Ocean Sci. Univeristy of B.C.
>Environment:
FreeBSD mach1 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon May  3 21:02:13 PDT 1999     xxx@xxx:/usr/src/sys/compile/XXX  i386
  Pentium Pro180 [asus P6NP5] [3c905 10Mb half-duplex]
FreeBSD mach2 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Tue May  4 14:14:42 PDT 1999     xxxx@xxxx:/usr/src/sys/compile/XXXX  i386
  PII-dual 350 [asus P2B-D] [3c905B 10Mb half-duplex]
>Description:
when a large file 500MB is transfer from machine1 to machine2 while
another 500MB files is transfered from machine2 to machine1.
 The nfs mounts quickly locks up.
    nfsstat -w 5 
running on each machine quickly drop to zero when second
file is started. To clear the problem I have rebooted one of
the machines, since commands like df lockup due to the unresponsive
file system.

>How-To-Repeat:
mach2> mount mach1:/xx1 /xx1
mach1> mount mach2:/xx2 /xx2
mach1> cp /xx1/bigfile /xx2/bigfile.copy
mach2> cp /xx2/bigfile /xx1/bigfile.copy
with in 100k nfs locks up
>Fix:
mount filesytems using nfs v2 (not great solution)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dillon 
State-Changed-When: Wed Sep 29 10:23:38 PDT 1999 
State-Changed-Why:  
There were lots of bugs in 3.1-circa NFS, and some remained in 3.2.  The bug 
needs to be retested with the latest 3.3 release. 

A number of bugs were fixed that may have been responsible for the problem. 
A bug was fixed in the nfs packet realignment code that had locked-up  
NFS/TCP mounts, and a number of bugs have been fixed in the NFSv3 code  
relating to improper error handling which could also lead to a lockup. 


Responsible-Changed-From-To: freebsd-bugs->dillon 
Responsible-Changed-By: dillon 
Responsible-Changed-When: Wed Sep 29 10:23:38 PDT 1999 
Responsible-Changed-Why:  
assigned to NFS maintainer 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dillon 
State-Changed-When: Wed Sep 29 19:27:29 PDT 1999 
State-Changed-Why:  
Author indicates problem has been solved. 
>Unformatted:
