Re: [tcpm] Is this a problem?

Joe Touch <touch@ISI.EDU> Tue, 06 November 2007 19:04 UTC

Return-path: <tcpm-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IpTic-0007TJ-LW; Tue, 06 Nov 2007 14:04:10 -0500
Received: from tcpm by megatron.ietf.org with local (Exim 4.43) id 1IpTib-0007M2-Fd for tcpm-confirm+ok@megatron.ietf.org; Tue, 06 Nov 2007 14:04:09 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IpTib-0007Lt-4G for tcpm@ietf.org; Tue, 06 Nov 2007 14:04:09 -0500
Received: from vapor.isi.edu ([128.9.64.64]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IpTia-0008SQ-LP for tcpm@ietf.org; Tue, 06 Nov 2007 14:04:09 -0500
Received: from [75.212.119.228] (228.sub-75-212-119.myvzw.com [75.212.119.228]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id lA6J3f7T027706; Tue, 6 Nov 2007 11:03:42 -0800 (PST)
Message-ID: <4730BA7E.4090209@isi.edu>
Date: Tue, 06 Nov 2007 11:03:26 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: MURALI BASHYAM <murali_bashyam@yahoo.com>
Subject: Re: [tcpm] Is this a problem?
References: <599223.66019.qm@web31710.mail.mud.yahoo.com>
In-Reply-To: <599223.66019.qm@web31710.mail.mud.yahoo.com>
X-Enigmail-Version: 0.95.5
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 538aad3a3c4f01d8b6a6477ca4248793
Cc: tcpm@ietf.org, Lloyd Wood <L.Wood@surrey.ac.uk>
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0198109138=="
Errors-To: tcpm-bounces@ietf.org


MURALI BASHYAM wrote:
> This behaviour can and does get exhibited by standard web servers also, it's not only our application.

So multiple apps are broken - this has happened before.

> The solution must
> work in scenarios where the application can cleanup its connection state, expecting TCP to deliver the data reliably to the peer after that.

There is a disconnect in believing that TCP ever needs to clean up its
connection state. TCP tends to leave state around and clean it up when a
new connection overtakes it; it does not tend to clean things up.

> It's not a broken application, this is a perfectly legal scenario. As far as the app is concerned, it's done with that connection, it can devote
> that connection memory and resources  to another user or client, thus increasing goodput.

As you note the resources don't get released until the data is
transferred or the connection is aborted, so it's a misconception that
the application should close a connection to release memory and resources.

Finally, it sounds like you didn't want a nonblocking CLOSE; you want to
use a blocking CLOSE with an application timeout timer.

Joe

_______________________________________________
tcpm mailing list
tcpm@ietf.org
https://www1.ietf.org/mailman/listinfo/tcpm