Re: [tcpm] Meeting Notes // TCP silent close issue
tuexen@fh-muenster.de Fri, 12 November 2021 18:37 UTC
Return-Path: <tuexen@fh-muenster.de>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 8C13C3A106A
for <tcpm@ietfa.amsl.com>; Fri, 12 Nov 2021 10:37:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.479
X-Spam-Level:
X-Spam-Status: No, score=-1.479 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, T_SPF_HELO_PERMERROR=0.01,
T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001]
autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id iS7o5tA9Hr2r for <tcpm@ietfa.amsl.com>;
Fri, 12 Nov 2021 10:37:26 -0800 (PST)
Received: from drew.franken.de (drew.ipv6.franken.de
[IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 9F85B3A1060
for <tcpm@ietf.org>; Fri, 12 Nov 2021 10:37:25 -0800 (PST)
Received: from smtpclient.apple (unknown
[IPv6:2a02:8109:1140:c3d:b164:f6f2:3509:e42e])
(Authenticated sender: macmic)
by mail-n.franken.de (Postfix) with ESMTPSA id EBD46721E2828;
Fri, 12 Nov 2021 19:37:16 +0100 (CET)
Content-Type: multipart/signed;
boundary="Apple-Mail=_D92D4A77-03F9-4208-BF16-53575B0F0D47";
protocol="application/pkcs7-signature"; micalg=sha-256
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
From: tuexen@fh-muenster.de
In-Reply-To: <C8B8411B-9332-4A0C-BDF6-C440EC391408@strayalpha.com>
Date: Fri, 12 Nov 2021 19:37:16 +0100
Cc: Extensions <tcpm@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <EFEFC910-0859-454E-B988-C41ED5C22B1D@fh-muenster.de>
References: <96A7D17B-D8EC-4724-8E2B-532FEDD3C4B8@fh-muenster.de>
<C8B8411B-9332-4A0C-BDF6-C440EC391408@strayalpha.com>
To: Joseph Touch <touch@strayalpha.com>
X-Mailer: Apple Mail (2.3693.20.0.1.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/Un7uBOlwbdReBK-ZAwr8kzF3P3A>
Subject: Re: [tcpm] Meeting Notes // TCP silent close issue
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>,
<mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>,
<mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2021 18:37:32 -0000
> On 12. Nov 2021, at 17:58, touch@strayalpha.com wrote: > > Hi, all, > > I noticed the discussion on TCP “silent close”, but didn’t recall seeing any discussion on this topic on the list, so I figured I’d start one. > > (Incidentally, a question to the chair: aren’t topics with meeting times slots supposed to have at least been discussed on the list or drafted?) Just on this question: If time permits, we accept presentations without IDs if we think that having a discussion in TCPM makes sense. In this particular case, the presentation was the last one and we used only the remaining meeting time. In my experience a presentation in the meeting is triggering a discussion much easier than just a post to the mailing list. This is my view as one of the co-chairs, the other two can chime in here. Best regards Michael > > The issue, AFAICT, is that: > - an app with a huge number of TCP connections crashes > - so the OS sends out that huge number of FINs > - which a burden on the OS and network > - if the entire OS crashes, no FINs get sent out > - so why not let that happen when the apps crash? > > This is addressed in TIME_WAIT discussions already, e.g.: > > T. Faber, J. Touch and W. Yue, "The TIME-WAIT state in TCP and its effect on busy servers," IEEE INFOCOM '99. Conference on Computer Communications. Proceedings. Eighteenth Annual Joint Conference of the IEEE Computer and Communications Societies. The Future is Now (Cat. No.99CH36320), 1999, pp. 1573-1583 vol.3, doi: https://doi.org/10.1109/INFCOM.1999.752180 > > The reason is RFCs 793 and 1122 both require hosts to avoid new connections for the TIME_WAIT period during a reboot, ensuring the safety of the orphan TCP connections on the remote systems. > > So, in this case, it would be OK for the OS to avoid sending out the burst of FINs, but *ONLY* if it also ensured those connection identifiers (at least) remained in TIME_WAIT. I.e., it would be possible for the OS to simply put them in TIME_WAIT and then allow the TCBs to be garbage collected either during a scan of TCBs or when a new connection on the same socket pair occurs. That can happen one of two ways: > - put the TCBs in TIME_WAIT directly (or perform equivalent bookkeeping) > - have the OS pause new connections for the TIME_WAIT period, i.e., emulating the reboot pause > > (I would be glad to assist with documenting that approach if useful). > > Joe > > — > Joe Touch, temporal epistemologist > www.strayalpha.com > >> On Nov 12, 2021, at 2:34 AM, tuexen@fh-muenster.de wrote: >> >> Dear all, >> >> a first version of the meeting notes has been uploaded: >> https://datatracker.ietf.org/meeting/112/materials/minutes-112-tcpm-01 >> If you have comments, please let the chairs know. >> >> Thanks a lot to Gorry for taking the notes and anyone improving the >> notes during the meeting! >> >> Best regards >> Michael >> >> _______________________________________________ >> tcpm mailing list >> tcpm@ietf.org >> https://www.ietf.org/mailman/listinfo/tcpm > > _______________________________________________ > tcpm mailing list > tcpm@ietf.org > https://www.ietf.org/mailman/listinfo/tcpm
- [tcpm] Meeting Notes tuexen
- Re: [tcpm] Meeting Notes // TCP silent close issue touch@strayalpha.com
- Re: [tcpm] Meeting Notes // TCP silent close issue tuexen
- Re: [tcpm] Meeting Notes // TCP silent close issue touch@strayalpha.com
- Re: [tcpm] Meeting Notes // TCP silent close issue Scharf, Michael
- Re: [tcpm] Meeting Notes // TCP silent close issue Yoshifumi Nishida
- Re: [tcpm] Meeting Notes // TCP silent close issue touch@strayalpha.com
- Re: [tcpm] Meeting Notes // TCP silent close issue Yoshifumi Nishida