From: "Massimo S." Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 13711106 for ecs-isp@2rosenthals.com; Mon, 28 Jul 2025 13:19:20 -0400 Received: from [192.168.200.201] (port=51264 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1ugRVG-000000003vp-1ndU for ecs-isp@2rosenthals.com; Mon, 28 Jul 2025 13:19:12 -0400 Received: from mail2.quasarbbs.net ([80.86.52.115]:10048) by mail2.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1ugRV5-000000001Ne-0Km8 for ecs-isp@2rosenthals.com; Mon, 28 Jul 2025 13:19:00 -0400 X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_SIZE_2000_2999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_MONEY_BIG_COIN 0.000000, __FRAUD_MONEY_BIG_COIN_DIG 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __NO_HTML_TAG_RAW 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_NO_MAILTO 0.000000, __USER_AGENT 0.000000, __WEBINAR_PHRASE 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2025.7.28.162719 X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_SIZE_2000_2999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __AUTH_RES_PASS 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_MONEY_BIG_COIN 0.000000, __FRAUD_MONEY_BIG_COIN_DIG 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __NO_HTML_TAG_RAW 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_NO_MAILTO 0.000000, __USER_AGENT 0.000000, __WEBINAR_PHRASE 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2025.7.28.162719 DKIM-Signature: v=1; q=dns/txt; a=rsa-sha256; c=relaxed/relaxed; s=default; d=ecomstation.it; bh=IUM5R1d9Sq4sfZ4j1ZIc9OYMaW09iL5G0NbScmhjeLA=; h=Return-Path:From:To:Subject:Date:Message-ID; b=OouEVfKkw86tTQXaV9a8ieFKGZEBrLoU/UtFLfcPjXggSLk0kx5Ok6nS1394fWt013HMr 4zjLx8sB4kVyUs2FDcOC/+3NeHjqPWw/SCjTNM6v8WxcIHJdoMkVLHzs/QMbQOGKawkmmnT r95fJHhWYacLuvfr06Mlz/1H+7zzKIzVzlhHXxFlbuRVYCrTymSqu9q3vJNhBgrrPmgMX5e scylt8LZRCFkIyoCNklrB0ZUGFPgd2Q/QRu4mEYFbn7Uxz7XdGKLwGteseBaw1w8ukrsCL/ 9LbIOIFCWgfzWXk1yiGifzRntnbaMJRz94pwKAGyQfMSqPCmU4dTUkWDo//Q== Received: from [192.168.10.199] (dtp [192.168.10.199]) by srv2 (Weasel v3.05012) for ; Mon, 28 Jul 2025 19:18:52 -0000 Reply-To: ml@ecomstation.it Subject: Re: [eCS-ISP] socket - no buffer space availble To: eCS ISP Mailing List References: Organization: Massimo S. Message-ID: Date: Mon, 28 Jul 2025 19:18:50 +0200 User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; it-IT; rv:1.7.13) Gecko/20060424 Thunderbird/1.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit Il 28/07/2025 18:44, Lewis G Rosenthal ha scritto: > Hi, Max... > > On 07/28/25 05:52 am, Massimo S. wrote: >> Hi all, >> >> sometime this happens on a couple of VMs here: >> >> netstat -r (or other commands) give the output in the subject. >> >> >> Of course is there anything that i can do other than the setboot /b ? >> Any suggestion? >> Thanks. >> >> (This happens on an AOS VM and also on eCS2.2b VM) > > This is an elephant gun solution (reboot) to a very common problem. > > When you run out of network buffers, something is likely leaking network buffers (i.e., using them and not > returning them to the pool when finished). > > You should start closing applications one at a time until the number of available buffers returns to a more > normal level (netstat -m is your friend), then restart those applications. Either there is a configuration > setting which might be changed or a defect in the code causing this. > > Buffer usage is often hard to predict, but it should ebb and flow with network traffic. If it doesn't, there > is something not giving them back to the pool for some reason. > > Also, netstat -i will give you a count of packets lost due to no buffers available (and other unusual > happenings). > > Something else you can try (half an elephant gun) is running socktidy and stopping it. This will close those > unused sockets consuming buffer space. However, this will not fix the underlying problem (too many connections > allowed for something?). It will save you a reboot. As a working kludge, you could run socktidy once every few > hours to dump the cruft. > > As a rule, I do not run socktidy on servers because it can interrupt the flow of some slow connections which > might need to remain open a bit longer. It's fine on workstations, however. > > A final thought would be to trim your tcprwinsize. If you are using something above the default, then lower it > a few bytes at a time while monitoring the situation over the course of a few days. Larger window sizes > consume more buffers. > > The OS/2 IPv4 stack is quite robust. The venerable BSD on which it is based (in fact, from which it was ported > nearly verbatim) runs many, many boxes to this day. Sadly, as with old car restoration, there are fewer and > fewer of us around who have taken the time over the years to learn the basic concepts of the system and who > understand how the various parts of the stack fit together (not the "Windows way"). > > HTH Food for thought, at least. > > Cheers Hi Lewis, my VMs do nightly reboot and of course are servers (eg. apache web server). So i can't use socktidy. Apache itself get scheduled restarts 2 or 3 times per day. And there are FW rules that close, i don't recall exactly, 25 or 30 concurrent connections from the same IP, other than a lot of rules that close unwanted crawlers, http/https attacks etc. massimo