lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAHxn98G9kKtVi34mC+NHwasixZd63C8+s5gC5T5o-vKUVVoKQ@mail.gmail.com>
Date: Mon, 19 May 2025 17:03:40 +0200
From: Simon Campion <simon.campion@...pl.com>
To: Neal Cardwell <ncardwell@...gle.com>
Cc: netdev@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>, 
	Yuchung Cheng <ycheng@...gle.com>, Kevin Yang <yyd@...gle.com>
Subject: Re: [EXT] Re: tcp: socket stuck with zero receive window after SACK

Gladly! I attached the output of nstat -az. I ran it twice, right
before a 602 byte retransmit was received and dropped, and right
after, in case looking at the diff is helpful.

Here's the first run:

#kernel
IpInReceives                    18788097214        0.0
IpInHdrErrors                   47522              0.0
IpInAddrErrors                  0                  0.0
IpForwDatagrams                 11778747           0.0
IpInUnknownProtos               0                  0.0
IpInDiscards                    0                  0.0
IpInDelivers                    18776248435        0.0
IpOutRequests                   14428799907        0.0
IpOutDiscards                   40798              0.0
IpOutNoRoutes                   0                  0.0
IpReasmTimeout                  0                  0.0
IpReasmReqds                    32952              0.0
IpReasmOKs                      16476              0.0
IpReasmFails                    0                  0.0
IpFragOKs                       0                  0.0
IpFragFails                     0                  0.0
IpFragCreates                   0                  0.0
IpOutTransmits                  14440537900        0.0
IcmpInMsgs                      7052154            0.0
IcmpInErrors                    107                0.0
IcmpInCsumErrors                0                  0.0
IcmpInDestUnreachs              100237             0.0
IcmpInTimeExcds                 298                0.0
IcmpInParmProbs                 0                  0.0
IcmpInSrcQuenchs                0                  0.0
IcmpInRedirects                 67                 0.0
IcmpInEchos                     4035849            0.0
IcmpInEchoReps                  2915703            0.0
IcmpInTimestamps                0                  0.0
IcmpInTimestampReps             0                  0.0
IcmpInAddrMasks                 0                  0.0
IcmpInAddrMaskReps              0                  0.0
IcmpOutMsgs                     7061967            0.0
IcmpOutErrors                   0                  0.0
IcmpOutRateLimitGlobal          0                  0.0
IcmpOutRateLimitHost            47087              0.0
IcmpOutDestUnreachs             10421              0.0
IcmpOutTimeExcds                449                0.0
IcmpOutParmProbs                0                  0.0
IcmpOutSrcQuenchs               0                  0.0
IcmpOutRedirects                46216              0.0
IcmpOutEchos                    2969032            0.0
IcmpOutEchoReps                 4035849            0.0
IcmpOutTimestamps               0                  0.0
IcmpOutTimestampReps            0                  0.0
IcmpOutAddrMasks                0                  0.0
IcmpOutAddrMaskReps             0                  0.0
IcmpMsgInType0                  2915703            0.0
IcmpMsgInType3                  100237             0.0
IcmpMsgInType5                  67                 0.0
IcmpMsgInType8                  4035849            0.0
IcmpMsgInType11                 298                0.0
IcmpMsgOutType0                 4035849            0.0
IcmpMsgOutType3                 10421              0.0
IcmpMsgOutType5                 46216              0.0
IcmpMsgOutType8                 2969032            0.0
IcmpMsgOutType11                449                0.0
TcpActiveOpens                  7902932            0.0
TcpPassiveOpens                 1447146            0.0
TcpAttemptFails                 41605              0.0
TcpEstabResets                  1327046            0.0
TcpInSegs                       4953075475         0.0
TcpOutSegs                      2988066928         0.0
TcpRetransSegs                  656187             0.0
TcpInErrs                       0                  0.0
TcpOutRsts                      3401866            0.0
TcpInCsumErrors                 0                  0.0
UdpInDatagrams                  13816173054        0.0
UdpNoPorts                      10435              0.0
UdpInErrors                     2                  0.0
UdpOutDatagrams                 493212273          0.0
UdpRcvbufErrors                 0                  0.0
UdpSndbufErrors                 10                 0.0
UdpInCsumErrors                 0                  0.0
UdpIgnoredMulti                 0                  0.0
UdpMemErrors                    0                  0.0
UdpLiteInDatagrams              0                  0.0
UdpLiteNoPorts                  0                  0.0
UdpLiteInErrors                 0                  0.0
UdpLiteOutDatagrams             0                  0.0
UdpLiteRcvbufErrors             0                  0.0
UdpLiteSndbufErrors             0                  0.0
UdpLiteInCsumErrors             0                  0.0
UdpLiteIgnoredMulti             0                  0.0
UdpLiteMemErrors                0                  0.0
Ip6InReceives                   268280             0.0
Ip6InHdrErrors                  0                  0.0
Ip6InTooBigErrors               0                  0.0
Ip6InNoRoutes                   39                 0.0
Ip6InAddrErrors                 0                  0.0
Ip6InUnknownProtos              0                  0.0
Ip6InTruncatedPkts              0                  0.0
Ip6InDiscards                   0                  0.0
Ip6InDelivers                   85862              0.0
Ip6OutForwDatagrams             0                  0.0
Ip6OutRequests                  500197             0.0
Ip6OutDiscards                  1                  0.0
Ip6OutNoRoutes                  591                0.0
Ip6ReasmTimeout                 0                  0.0
Ip6ReasmReqds                   0                  0.0
Ip6ReasmOKs                     0                  0.0
Ip6ReasmFails                   0                  0.0
Ip6FragOKs                      0                  0.0
Ip6FragFails                    0                  0.0
Ip6FragCreates                  0                  0.0
Ip6InMcastPkts                  194727             0.0
Ip6OutMcastPkts                 426562             0.0
Ip6InOctets                     20173005           0.0
Ip6OutOctets                    45359068           0.0
Ip6InMcastOctets                14345494           0.0
Ip6OutMcastOctets               39440790           0.0
Ip6InBcastOctets                0                  0.0
Ip6OutBcastOctets               0                  0.0
Ip6InNoECTPkts                  268280             0.0
Ip6InECT1Pkts                   0                  0.0
Ip6InECT0Pkts                   0                  0.0
Ip6InCEPkts                     0                  0.0
Ip6OutTransmits                 500197             0.0
Icmp6InMsgs                     23176              0.0
Icmp6InErrors                   0                  0.0
Icmp6OutMsgs                    437389             0.0
Icmp6OutErrors                  0                  0.0
Icmp6InCsumErrors               0                  0.0
Icmp6OutRateLimitHost           0                  0.0
Icmp6InDestUnreachs             0                  0.0
Icmp6InPktTooBigs               0                  0.0
Icmp6InTimeExcds                0                  0.0
Icmp6InParmProblems             0                  0.0
Icmp6InEchos                    0                  0.0
Icmp6InEchoReplies              0                  0.0
Icmp6InGroupMembQueries         0                  0.0
Icmp6InGroupMembResponses       0                  0.0
Icmp6InGroupMembReductions      0                  0.0
Icmp6InRouterSolicits           12339              0.0
Icmp6InRouterAdvertisements     0                  0.0
Icmp6InNeighborSolicits         2117               0.0
Icmp6InNeighborAdvertisements   8720               0.0
Icmp6InRedirects                0                  0.0
Icmp6InMLDv2Reports             0                  0.0
Icmp6OutDestUnreachs            0                  0.0
Icmp6OutPktTooBigs              0                  0.0
Icmp6OutTimeExcds               0                  0.0
Icmp6OutParmProblems            0                  0.0
Icmp6OutEchos                   0                  0.0
Icmp6OutEchoReplies             0                  0.0
Icmp6OutGroupMembQueries        0                  0.0
Icmp6OutGroupMembResponses      0                  0.0
Icmp6OutGroupMembReductions     0                  0.0
Icmp6OutRouterSolicits          2                  0.0
Icmp6OutRouterAdvertisements    0                  0.0
Icmp6OutNeighborSolicits        69476              0.0
Icmp6OutNeighborAdvertisements  2116               0.0
Icmp6OutRedirects               0                  0.0
Icmp6OutMLDv2Reports            365795             0.0
Icmp6InType133                  12339              0.0
Icmp6InType135                  2117               0.0
Icmp6InType136                  8720               0.0
Icmp6OutType133                 2                  0.0
Icmp6OutType135                 69476              0.0
Icmp6OutType136                 2116               0.0
Icmp6OutType143                 365795             0.0
Udp6InDatagrams                 6                  0.0
Udp6NoPorts                     0                  0.0
Udp6InErrors                    0                  0.0
Udp6OutDatagrams                6                  0.0
Udp6RcvbufErrors                0                  0.0
Udp6SndbufErrors                0                  0.0
Udp6InCsumErrors                0                  0.0
Udp6IgnoredMulti                0                  0.0
Udp6MemErrors                   0                  0.0
UdpLite6InDatagrams             0                  0.0
UdpLite6NoPorts                 0                  0.0
UdpLite6InErrors                0                  0.0
UdpLite6OutDatagrams            0                  0.0
UdpLite6RcvbufErrors            0                  0.0
UdpLite6SndbufErrors            0                  0.0
UdpLite6InCsumErrors            0                  0.0
UdpLite6MemErrors               0                  0.0
TcpExtSyncookiesSent            0                  0.0
TcpExtSyncookiesRecv            0                  0.0
TcpExtSyncookiesFailed          0                  0.0
TcpExtEmbryonicRsts             3                  0.0
TcpExtPruneCalled               3891               0.0
TcpExtRcvPruned                 0                  0.0
TcpExtOfoPruned                 0                  0.0
TcpExtOutOfWindowIcmps          10                 0.0
TcpExtLockDroppedIcmps          178                0.0
TcpExtArpFilter                 0                  0.0
TcpExtTW                        3583160            0.0
TcpExtTWRecycled                4217               0.0
TcpExtTWKilled                  0                  0.0
TcpExtPAWSActive                0                  0.0
TcpExtPAWSEstab                 60                 0.0
TcpExtDelayedACKs               5133416            0.0
TcpExtDelayedACKLocked          3008               0.0
TcpExtDelayedACKLost            111165             0.0
TcpExtListenOverflows           0                  0.0
TcpExtListenDrops               0                  0.0
TcpExtTCPHPHits                 2023413            0.0
TcpExtTCPPureAcks               53087713           0.0
TcpExtTCPHPAcks                 115340211          0.0
TcpExtTCPRenoRecovery           0                  0.0
TcpExtTCPSackRecovery           13396              0.0
TcpExtTCPSACKReneging           0                  0.0
TcpExtTCPSACKReorder            202                0.0
TcpExtTCPRenoReorder            0                  0.0
TcpExtTCPTSReorder              1                  0.0
TcpExtTCPFullUndo               0                  0.0
TcpExtTCPPartialUndo            1                  0.0
TcpExtTCPDSACKUndo              252                0.0
TcpExtTCPLossUndo               85                 0.0
TcpExtTCPLostRetransmit         195718             0.0
TcpExtTCPRenoFailures           0                  0.0
TcpExtTCPSackFailures           3                  0.0
TcpExtTCPLossFailures           0                  0.0
TcpExtTCPFastRetrans            381976             0.0
TcpExtTCPSlowStartRetrans       76                 0.0
TcpExtTCPTimeouts               195387             0.0
TcpExtTCPLossProbes             110863             0.0
TcpExtTCPLossProbeRecovery      773                0.0
TcpExtTCPRenoRecoveryFail       0                  0.0
TcpExtTCPSackRecoveryFail       38                 0.0
TcpExtTCPRcvCollapsed           2960               0.0
TcpExtTCPBacklogCoalesce        252840759          0.0
TcpExtTCPDSACKOldSent           111216             0.0
TcpExtTCPDSACKOfoSent           2                  0.0
TcpExtTCPDSACKRecv              77523              0.0
TcpExtTCPDSACKOfoRecv           3                  0.0
TcpExtTCPAbortOnData            509577             0.0
TcpExtTCPAbortOnClose           1246626            0.0
TcpExtTCPAbortOnMemory          0                  0.0
TcpExtTCPAbortOnTimeout         32                 0.0
TcpExtTCPAbortOnLinger          0                  0.0
TcpExtTCPAbortFailed            0                  0.0
TcpExtTCPMemoryPressures        0                  0.0
TcpExtTCPMemoryPressuresChrono  0                  0.0
TcpExtTCPSACKDiscard            10                 0.0
TcpExtTCPDSACKIgnoredOld        2                  0.0
TcpExtTCPDSACKIgnoredNoUndo     73310              0.0
TcpExtTCPSpuriousRTOs           23                 0.0
TcpExtTCPMD5NotFound            0                  0.0
TcpExtTCPMD5Unexpected          0                  0.0
TcpExtTCPMD5Failure             0                  0.0
TcpExtTCPSackShifted            45975              0.0
TcpExtTCPSackMerged             248207             0.0
TcpExtTCPSackShiftFallback      328257             0.0
TcpExtTCPBacklogDrop            0                  0.0
TcpExtPFMemallocDrop            0                  0.0
TcpExtTCPMinTTLDrop             0                  0.0
TcpExtTCPDeferAcceptDrop        0                  0.0
TcpExtIPReversePathFilter       0                  0.0
TcpExtTCPTimeWaitOverflow       0                  0.0
TcpExtTCPReqQFullDoCookies      0                  0.0
TcpExtTCPReqQFullDrop           0                  0.0
TcpExtTCPRetransFail            55                 0.0
TcpExtTCPRcvCoalesce            1575181380         0.0
TcpExtTCPOFOQueue               2661363            0.0
TcpExtTCPOFODrop                0                  0.0
TcpExtTCPOFOMerge               2                  0.0
TcpExtTCPChallengeACK           138                0.0
TcpExtTCPSYNChallenge           87                 0.0
TcpExtTCPFastOpenActive         0                  0.0
TcpExtTCPFastOpenActiveFail     0                  0.0
TcpExtTCPFastOpenPassive        0                  0.0
TcpExtTCPFastOpenPassiveFail    0                  0.0
TcpExtTCPFastOpenListenOverflow 0                  0.0
TcpExtTCPFastOpenCookieReqd     0                  0.0
TcpExtTCPFastOpenBlackhole      0                  0.0
TcpExtTCPSpuriousRtxHostQueues  118                0.0
TcpExtBusyPollRxPackets         0                  0.0
TcpExtTCPAutoCorking            20400747           0.0
TcpExtTCPFromZeroWindowAdv      3612949            0.0
TcpExtTCPToZeroWindowAdv        3612953            0.0
TcpExtTCPWantZeroWindowAdv      0                  0.0
TcpExtTCPSynRetrans             194466             0.0
TcpExtTCPOrigDataSent           1261792021         0.0
TcpExtTCPHystartTrainDetect     40140              0.0
TcpExtTCPHystartTrainCwnd       4828784            0.0
TcpExtTCPHystartDelayDetect     17                 0.0
TcpExtTCPHystartDelayCwnd       8489               0.0
TcpExtTCPACKSkippedSynRecv      0                  0.0
TcpExtTCPACKSkippedPAWS         3                  0.0
TcpExtTCPACKSkippedSeq          580                0.0
TcpExtTCPACKSkippedFinWait2     0                  0.0
TcpExtTCPACKSkippedTimeWait     0                  0.0
TcpExtTCPACKSkippedChallenge    0                  0.0
TcpExtTCPWinProbe               0                  0.0
TcpExtTCPKeepAlive              2024725            0.0
TcpExtTCPMTUPFail               0                  0.0
TcpExtTCPMTUPSuccess            0                  0.0
TcpExtTCPDelivered              1269268682         0.0
TcpExtTCPDeliveredCE            0                  0.0
TcpExtTCPAckCompressed          1028306            0.0
TcpExtTCPZeroWindowDrop         485489             0.0
TcpExtTCPRcvQDrop               0                  0.0
TcpExtTCPWqueueTooBig           0                  0.0
TcpExtTCPFastOpenPassiveAltKey  0                  0.0
TcpExtTcpTimeoutRehash          195346             0.0
TcpExtTcpDuplicateDataRehash    53                 0.0
TcpExtTCPDSACKRecvSegs          77539              0.0
TcpExtTCPDSACKIgnoredDubious    12                 0.0
TcpExtTCPMigrateReqSuccess      0                  0.0
TcpExtTCPMigrateReqFailure      0                  0.0
TcpExtTCPPLBRehash              0                  0.0
IpExtInNoRoutes                 4                  0.0
IpExtInTruncatedPkts            0                  0.0
IpExtInMcastPkts                6                  0.0
IpExtOutMcastPkts               16                 0.0
IpExtInBcastPkts                0                  0.0
IpExtOutBcastPkts               0                  0.0
IpExtInOctets                   115665856793051    0.0
IpExtOutOctets                  20991618500174     0.0
IpExtInMcastOctets              306                0.0
IpExtOutMcastOctets             706                0.0
IpExtInBcastOctets              0                  0.0
IpExtOutBcastOctets             0                  0.0
IpExtInCsumErrors               0                  0.0
IpExtInNoECTPkts                41778706183        0.0
IpExtInECT1Pkts                 0                  0.0
IpExtInECT0Pkts                 299                0.0
IpExtInCEPkts                   0                  0.0
IpExtReasmOverlaps              0                  0.0

And here's the diff:

2c2
< IpInReceives                    18788097214        0.0
---
> IpInReceives                    18788830514        0.0
5c5
< IpForwDatagrams                 11778747           0.0
---
> IpForwDatagrams                 11778974           0.0
8,9c8,9
< IpInDelivers                    18776248435        0.0
< IpOutRequests                   14428799907        0.0
---
> IpInDelivers                    18776981508        0.0
> IpOutRequests                   14429439831        0.0
19,20c19,20
< IpOutTransmits                  14440537900        0.0
< IcmpInMsgs                      7052154            0.0
---
> IpOutTransmits                  14441178051        0.0
> IcmpInMsgs                      7052682            0.0
23c23
< IcmpInDestUnreachs              100237             0.0
---
> IcmpInDestUnreachs              100240             0.0
28,29c28,29
< IcmpInEchos                     4035849            0.0
< IcmpInEchoReps                  2915703            0.0
---
> IcmpInEchos                     4035969            0.0
> IcmpInEchoReps                  2916108            0.0
34c34
< IcmpOutMsgs                     7061967            0.0
---
> IcmpOutMsgs                     7062503            0.0
43,44c43,44
< IcmpOutEchos                    2969032            0.0
< IcmpOutEchoReps                 4035849            0.0
---
> IcmpOutEchos                    2969448            0.0
> IcmpOutEchoReps                 4035969            0.0
49,50c49,50
< IcmpMsgInType0                  2915703            0.0
< IcmpMsgInType3                  100237             0.0
---
> IcmpMsgInType0                  2916108            0.0
> IcmpMsgInType3                  100240             0.0
52c52
< IcmpMsgInType8                  4035849            0.0
---
> IcmpMsgInType8                  4035969            0.0
54c54
< IcmpMsgOutType0                 4035849            0.0
---
> IcmpMsgOutType0                 4035969            0.0
57c57
< IcmpMsgOutType8                 2969032            0.0
---
> IcmpMsgOutType8                 2969448            0.0
59,65c59,65
< TcpActiveOpens                  7902932            0.0
< TcpPassiveOpens                 1447146            0.0
< TcpAttemptFails                 41605              0.0
< TcpEstabResets                  1327046            0.0
< TcpInSegs                       4953075475         0.0
< TcpOutSegs                      2988066928         0.0
< TcpRetransSegs                  656187             0.0
---
> TcpActiveOpens                  7903289            0.0
> TcpPassiveOpens                 1447188            0.0
> TcpAttemptFails                 41607              0.0
> TcpEstabResets                  1327071            0.0
> TcpInSegs                       4953086019         0.0
> TcpOutSegs                      2988189227         0.0
> TcpRetransSegs                  656198             0.0
67c67
< TcpOutRsts                      3401866            0.0
---
> TcpOutRsts                      3401906            0.0
69c69
< UdpInDatagrams                  13816173054        0.0
---
> UdpInDatagrams                  13816895055        0.0
72c72
< UdpOutDatagrams                 493212273          0.0
---
> UdpOutDatagrams                 493225063          0.0
87c87
< Ip6InReceives                   268280             0.0
---
> Ip6InReceives                   268283             0.0
95c95
< Ip6InDelivers                   85862              0.0
---
> Ip6InDelivers                   85865              0.0
97c97
< Ip6OutRequests                  500197             0.0
---
> Ip6OutRequests                  500200             0.0
109,110c109,110
< Ip6InOctets                     20173005           0.0
< Ip6OutOctets                    45359068           0.0
---
> Ip6InOctets                     20173232           0.0
> Ip6OutOctets                    45359303           0.0
115c115
< Ip6InNoECTPkts                  268280             0.0
---
> Ip6InNoECTPkts                  268283             0.0
119,120c119,120
< Ip6OutTransmits                 500197             0.0
< Icmp6InMsgs                     23176              0.0
---
> Ip6OutTransmits                 500200             0.0
> Icmp6InMsgs                     23177              0.0
122c122
< Icmp6OutMsgs                    437389             0.0
---
> Icmp6OutMsgs                    437390             0.0
138c138
< Icmp6InNeighborAdvertisements   8720               0.0
---
> Icmp6InNeighborAdvertisements   8721               0.0
152c152
< Icmp6OutNeighborSolicits        69476              0.0
---
> Icmp6OutNeighborSolicits        69477              0.0
158c158
< Icmp6InType136                  8720               0.0
---
> Icmp6InType136                  8721               0.0
160c160
< Icmp6OutType135                 69476              0.0
---
> Icmp6OutType135                 69477              0.0
190c190
< TcpExtTW                        3583160            0.0
---
> TcpExtTW                        3583407            0.0
195c195
< TcpExtDelayedACKs               5133416            0.0
---
> TcpExtDelayedACKs               5133551            0.0
200,202c200,202
< TcpExtTCPHPHits                 2023413            0.0
< TcpExtTCPPureAcks               53087713           0.0
< TcpExtTCPHPAcks                 115340211          0.0
---
> TcpExtTCPHPHits                 2023452            0.0
> TcpExtTCPPureAcks               53091101           0.0
> TcpExtTCPHPAcks                 115343941          0.0
213c213
< TcpExtTCPLostRetransmit         195718             0.0
---
> TcpExtTCPLostRetransmit         195727             0.0
219,220c219,220
< TcpExtTCPTimeouts               195387             0.0
< TcpExtTCPLossProbes             110863             0.0
---
> TcpExtTCPTimeouts               195398             0.0
> TcpExtTCPLossProbes             110865             0.0
225c225
< TcpExtTCPBacklogCoalesce        252840759          0.0
---
> TcpExtTCPBacklogCoalesce        252840913          0.0
230,231c230,231
< TcpExtTCPAbortOnData            509577             0.0
< TcpExtTCPAbortOnClose           1246626            0.0
---
> TcpExtTCPAbortOnData            509579             0.0
> TcpExtTCPAbortOnClose           1246649            0.0
257c257
< TcpExtTCPRcvCoalesce            1575181380         0.0
---
> TcpExtTCPRcvCoalesce            1575181523         0.0
272c272
< TcpExtTCPAutoCorking            20400747           0.0
---
> TcpExtTCPAutoCorking            20401664           0.0
276,279c276,279
< TcpExtTCPSynRetrans             194466             0.0
< TcpExtTCPOrigDataSent           1261792021         0.0
< TcpExtTCPHystartTrainDetect     40140              0.0
< TcpExtTCPHystartTrainCwnd       4828784            0.0
---
> TcpExtTCPSynRetrans             194477             0.0
> TcpExtTCPOrigDataSent           1261911536         0.0
> TcpExtTCPHystartTrainDetect     40143              0.0
> TcpExtTCPHystartTrainCwnd       4829428            0.0
289c289
< TcpExtTCPKeepAlive              2024725            0.0
---
> TcpExtTCPKeepAlive              2024763            0.0
292c292
< TcpExtTCPDelivered              1269268682         0.0
---
> TcpExtTCPDelivered              1269388548         0.0
295c295
< TcpExtTCPZeroWindowDrop         485489             0.0
---
> TcpExtTCPZeroWindowDrop         485490             0.0
299c299
< TcpExtTcpTimeoutRehash          195346             0.0
---
> TcpExtTcpTimeoutRehash          195357             0.0
312,313c312,313
< IpExtInOctets                   115665856793051    0.0
< IpExtOutOctets                  20991618500174     0.0
---
> IpExtInOctets                   115667256768208    0.0
> IpExtOutOctets                  20993368512190     0.0
319c319
< IpExtInNoECTPkts                41778706183        0.0
---
> IpExtInNoECTPkts                41780216583        0.0



On Mon, 19 May 2025 at 16:42, Neal Cardwell <ncardwell@...gle.com> wrote:
>
> On Mon, May 19, 2025 at 9:31 AM Simon Campion <simon.campion@...pl.com> wrote:
> >
> > Hi all,
> >
> > We have a TCP socket that's stuck in the following state:
> >
> > * it SACKed ~40KB of data, but misses 602 bytes at the beginning
> > * it has a zero receive window
> > * the Recv-Q as reported by ss is 0
> >
> > Due to the zero window, the kernel drops the missing 602 bytes when
> > the peer sends them. So, the socket is stuck indefinitely waiting for
> > data it drops when it receives it. Since the Recv-Q as reported by ss
> > is 0, we suspect the receive window is not 0 because the owner of the
> > socket isn't reading data. Rather, we wonder whether the kernel SACKed
> > too much data than it should have, given the receive buffer size, not
> > leaving enough space to store the missing bytes when they arrive.
> > Could this happen?
> >
> > We don't have a reproducer for this issue. The socket is still in this
> > state, so we're happy to provide more debugging information while we
> > have it. This is the first time we've seen this problem.
> >
> > Here are more details:
> >
> > # uname -r
> > 6.6.83-flatcar
>
> Thanks for the detailed report!
>
> Can you please attach the output of the following command, run on the
> same machine (and in the same network namespace) as the socket with
> the receive buffer that is almost full:
>
>   nstat -az > /tmp/nstat.txt
>
> This should help us get a better idea about which "prune" methods are
> being tried, and which of them are failing to free up enough memory.
>
> Thanks!
> neal

View attachment "nstat_2_52.txt" of type "text/plain" (17718 bytes)

View attachment "nstat_2_51.txt" of type "text/plain" (17718 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ