From: "Steven Levine" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 13740394 for ecs-isp@2rosenthals.com; Thu, 31 Jul 2025 00:05:50 -0400 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:36936 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1uhKY0-000000007jK-1ck7 for ecs-isp@2rosenthals.com; Thu, 31 Jul 2025 00:05:40 -0400 Received: from mta-202b.earthlink-vadesecure.net ([51.81.232.241]:53661 helo=mta-202a.earthlink-vadesecure.net) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1uhKXr-000000006kB-1l9Y for ecs-isp@2rosenthals.com; Thu, 31 Jul 2025 00:05:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; bh=piWn1eEXpiP7WqV1tpPPLwukljsGJZlGH8WDBF B9ApQ=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-unsubscribe-post: list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=dk12062016; t=1753934730; x=1754539530; b=VmLWReSVHP4JLRnonNhtC8YpQSI QVUOup6JTMJti9RuI2SlYCEyKipurz06HZCF0rT/Aa3BXuMFcIj3cRY6vmmxTGlPl6Z1Wv7 BB16Ks2YIr/MoVI5yPH8FEhqnG2mZVJiVl6nmf+Zzinr8WuEdOM/7jSt4kIfFOTOC3zy3zp OCkPOd6vdhcFE1OkycVJeyfDPKIGWXXjnN4L6+n94Z7T/l2PTevTGPPUhm4tm6N769sqPSZ g9w/8R8YwhdxFi6mUsERKLmp8+ZyE5bKSz6+9n35j0gDIlZ/CuFKY4Zu6xZT1CPhT99ketW BTBFdCKpNHpu87jMCetBDN/OLHAplSA== Received: from slamain ([172.58.119.142]) by vsel2nmtao02p.internal.vadesecure.com with ngmta id dc45b6b2-18573a5830a5c3fa; Thu, 31 Jul 2025 04:05:30 +0000 Message-ID: <688a6c15.61.mr2ice.fgrirsq@earthlink.net> Date: Wed, 30 Jul 2025 12:01:41 -0700 To: "eCS ISP Mailing List" In-Reply-To: Subject: Re: [eCS-ISP] socket - no buffer space availble X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.24/60 In , on 07/30/25 at 11:54 AM, "Lewis G Rosenthal" said: Hi, >I would expect lingertime or realslow to impact FIN_WAIT_2. Does neither? I don't know. The relevant code is in afinetk.os2, but I've not had a need to look at it in detail. The possibly equivalent FreeBSD code is tcp_usrreq.c:786 if (tp && tp->t_state >= TCPS_FIN_WAIT_2) { soisdisconnected(tp->t_inpcb->inp_socket); /* To prevent the connection hanging in FIN_WAIT_2 forever. */ if (tp->t_state == TCPS_FIN_WAIT_2) tp->t_timer[TCPT_2MSL] = tcp_maxidle; } maxidle is set by tcp_timer.c:131 tcp_maxidle = tcp_keepcnt * tcp_keepintvl; tcp_keepintvl can vary. I'm pretty sure this is the keepalive timeout, but I've not verified this 100%. > realslow sets the time in ticks for closing slow TW connections, and I >thought that FIN_WAIT_2 implied a slow connection (I need to pull that >book off the shelf when I get home, I guess). realslow does not seem to exist in the FreeBSD sources. It appears to have been added by IBM. Afinetk.os2 defines the symbols afinetk.sys\6_3100\afinetk.map:125 0001:00001B34 tcp_keepidle 0001:00001B38 tcp_keepintvl 0001:00001B3C tcp_maxpersistidle 0001:00001B40 RealSlowTimer 0001:00001B48 route_timer 0001:00001B4C syncookietimer among others. As you can see, camel case symbol style differs from the standard FreeBSD source style. I've not looked in any detail at how the code uses RealSlowTimer. This should happen if this dicussion continues sufficiently long. >I think once the socket number is returned to the pool, identifying these > "cling-ons" (Klingons?) will be tricky. Agreed. There's also the issue that we don't know the socket number we want to hack away at. >Now I'll have to look at the 3.2 sources myself. As you are wont to say, >some people do crossword puzzles... LOL FWIW, my reference is >g remote -v origin https://github.com/freebsd/freebsd (fetch) >g tag release/3.2.0 >gl log -1 commit c37538200ebdef38051ba82b76e6b2dab3bd2fdc Author: cvs2svn Date: Mon May 24 16:47:10 1999 +0000 This commit was manufactured by cvs2svn to create tag 'RELENG_3_2_0_RELEASE'. Steven -- ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ----------------------------------------------------------------------