From: Trond Myklebust Subject: Re: NFS over TCP: random drop Date: Tue, 16 Mar 2004 10:50:22 -0500 Sender: nfs-admin@lists.sourceforge.net Message-ID: <1079452222.3045.7.camel@lade.trondhjem.org> References: <20040316111149.GS25405@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1B3Gps-0000dC-C7 for nfs@lists.sourceforge.net; Tue, 16 Mar 2004 07:50:32 -0800 Received: from dh132.citi.umich.edu ([141.211.133.132] helo=lade.trondhjem.org ident=Debian-exim) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.30) id 1B3Gpq-0003pV-OF for nfs@lists.sourceforge.net; Tue, 16 Mar 2004 07:50:30 -0800 To: Olaf Kirch In-Reply-To: <20040316111149.GS25405@suse.de> Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: P=E5 ty , 16/03/2004 klokka 06:11, skreiv Olaf Kirch: > Hi, >=20 > I am looking into an NFS problem at one of our customers. They are > running NFS over TCP, and the client is some kind of mainframe OS. >=20 > What happens is this: >=20 > client: initiates connections, 3way handshake completes > server: closes connection (FIN) > client: (at the same moment) sends data to server > server: RST > client: argh (reports EIO to application) >=20 > What seems to happen here is the random connection drop in svcsock.c, > where we randomly drop a connection if the total number of TCP connection= s > exceeds (nrthreads + 3) * 10. "Randomly" here means either the oldest > connection, or the newest one (which happens to be the one we just > accepted). >=20 > The specific problem we have here is that the client doesn't grok TCP RST= s > generated by the server. It's arguably a client bug, but I'm nevertheless > thinking about a way to work around this It would be a client bug if this was happening on hard mounts, but I assume this is "soft"? Cheers, Trond ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs