From owner-freebsd-current@FreeBSD.ORG Sat Nov 7 03:19:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD411106566C; Sat, 7 Nov 2009 03:19:10 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 572368FC15; Sat, 7 Nov 2009 03:19:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAHV29EqDaFvK/2dsb2JhbADcFoQ+BA X-IronPort-AV: E=Sophos;i="4.44,698,1249272000"; d="scan'208";a="54397964" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 06 Nov 2009 22:19:09 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 64879109C270; Fri, 6 Nov 2009 22:19:09 -0500 (EST) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1UVhpFt0bSaC; Fri, 6 Nov 2009 22:19:09 -0500 (EST) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id E4B7C109C25D; Fri, 6 Nov 2009 22:19:08 -0500 (EST) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id nA73Qc217337; Fri, 6 Nov 2009 22:26:38 -0500 (EST) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 6 Nov 2009 22:26:38 -0500 (EST) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Rui Paulo In-Reply-To: <030A8229-9707-4F70-B4BE-584F1BF9ECEC@FreeBSD.org> Message-ID: References: <4AF0B7DF.9030405@freebsd.org> <030A8229-9707-4F70-B4BE-584F1BF9ECEC@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org Subject: Re: Help needed: TCP Wizards (was 8.0-RC1 NFS client timeout issue) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 03:19:10 -0000 On Thu, 5 Nov 2009, Rui Paulo wrote: > > Are you running TSO? > I spoke too soon the last time. It appears that the setting of net.inet.tcp.tso does not have any effect and that the Intel chip on this machine doesn't do TSO. (I tried swapping it for a 3C905 and the RSTs are showing up.) I guess it was just coincidence that the RSTs seemed to stop happening for a while after I flipped the sysctl. I think the problem is related to the fact that the server end has started to close down the connection (send a FIN), but the client doesn't do anything until an RPC shows up and then tried to do a new connection right after shutting down the old one. (Solaris10 generates RSTs on the old connection and it seems that somehow triggers one being sent to the server with the new port# instead of the old port#.) I'm about to try doing a soshutdown() at the time the server sends the FIN to the client, to see what effect that has. I still can't figure out where the pesky RST gets sent or I could get a stack trace at that point and see what is doing it. Having lottsa fun with it, rick