Re: PATCH: NFS client tcp hanging

Ion Badulescu (ionut@moisil.cs.columbia.edu)
Thu, 30 Jul 1998 09:48:55 -0400


On Wed, 29 Jul 1998 17:31:34 EDT, Alan Cox wrote:
> This fixes the first 90% of the problem. I'll fix the other 90% ;) when I
> get some time.
>
> TCP rpc processing is now pushed back to a bh handler. There are some minor
> socket locking issues to check through and clean up - its possible this
> bh handler needs to cover UDP too and be a thread. Whats there is at least
> most of the code needed in either case

Hmm.. I'm having mixed results with 2.1.112 + this patch. I was able to to
copy a large file from an NFSv2/UDP share to an NFSv2/TCP share, relatively
painlessly, but when I tried to copy the same file from a local disk, the
connection hung. The server is Solaris 2.5.1.

tcpdump shows lots of weird connections like this:

09:39:30.980000 madrid.777 > douglass.2049: S 1406780645:1406780645(0) win 31856 <mss 1460,sackOK,timestamp 221603[|tcp]> (DF)
09:39:30.990000 douglass.2049 > madrid.777: S 3011832878:3011832878(0) ack 1406780646 win 33580 <mss 1460> (DF)
09:39:30.990000 madrid.777 > douglass.2049: . ack 1 win 31856 (DF)
09:39:30.990000 madrid.777 > douglass.2049: . 1:1461(1460) ack 1 win 31856 (DF)
09:39:30.990000 douglass.2049 > madrid.777: . ack 1461 win 32120 (DF)
09:39:30.990000 madrid.777 > douglass.2049: . 1461:2921(1460) ack 1 win 31856 (DF)
09:39:30.990000 madrid.777 > douglass.2049: FP 2921:4237(1316) ack 1 win 31856 (DF)
09:39:30.990000 douglass.2049 > madrid.777: . ack 4238 win 29344 (DF)
09:39:31.020000 douglass.2049 > madrid.777: P 1:101(100) ack 4238 win 33580 (DF)
09:39:31.020000 madrid.777 > douglass.2049: R 1406784883:1406784883(0) win 0

where madrid is the client, douglass is the server. On the console I see

RPC: sendmsg returned error 11

every 3 seconds or so.

I can get a full tcpdump logfile if that helps..

Thanks,
Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html