Article View: news.software.nntp
Article #25961Re: DIABLO parallel connection limit & Cyclone
From: Dan Foster
Date: Sun, 08 Feb 1998 00:00
Date: Sun, 08 Feb 1998 00:00
68 lines
3537 bytes
3537 bytes
-----BEGIN PGP SIGNED MESSAGE----- In article <6blc87$nme$1@turing.mathworks.com>, Dave Pascoe <dave@mathworks.com> wrote: >I've been increasingly bumping into problems with peer sites running >Diablo. I'm running Cyclone 1.3.10 and occasionally I get 502 >rejected from them with errmsg "parallel connection limit is >n". Typically I'm not running anywheree near n connections to them. > >Is Diablo not counting connections properly? How long does it hold >state? > >It's especially amusing when there's 0 connections (i.e., I'm being >rejected), as verified by netstat. There might be a Path MTU Discovery issue here. I was bit by that *exact* behavior with a peer site until I whipped out tcpdump and watched a NNTP connection from the initial SYN to the point where it 'hung'... Peer was running a Solaris box (which enables PMTUD by default unless one disables it with a ndd option) and there were some ICMP filtering somewhere in the path... so connection would start slowly, then build up to 1500 bytes sized packets. Unfortunately, for *whatever* reason, the next hop from us on the path has a MTU of 1479 bytes... So >1479 byte packets were getting dropped, but due to ICMP filtering, Solaris box didn't get the ICMP error message (type 3 code 4, I think?). After a default of 2 minutes of no ACKs being seen originating from us, the Solaris tcp stack kills the connection outright on its side... no RST, no FIN, no nothing... kernel just released resources. Meanwhile, our box still thought the connections were open... had lots of them in netstat. It wasn't until the server software did a write to the socket did it realize that there were problems, and got the connections terminated on our side. As a workaround for the PMTUD issue, we enabled socket keepalives which helped a lot in having our box kill off any dead connections every 10 minutes. Then eventually I realized what the problem was... and couldn't get router admin to remove ICMP filtering *or* to up the MTU to 1500... so I had to set the MSS to 1439 bytes (MTU of 1479 minus 20 byte TCP header minus 20 byte ICMP header) in order for all the packets to fit that #$()@#$)(@#$ 1479 bytes-sized hole. Non-optimal workaround, but no other choice. Soon as I did that, all the too-many-cnxts open and *anemic* feed problems went away that second :) Any questions, feel free to mail me. - -Dan P.S. My box was AIX v4 running Diablo and theirs was Solaris running Cyclone (But eventually traced to combinations of idiocy on part of network admins rather than being a Diablo/Cyclone issue) -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNN49xhIzLSiSunCZAQGh/AP/WuizVW+kFA9cSGxxLyFyqYZSXQKL6gV3 064LAsnHbdWg1A2I9or2zcIXQBtaHQvVp2e02UJJVnIXBKEGtwvhAD+E+FGC/WeA xKlvSvlm/wUEANqeHh4mdm49A6CLaLakAkvaoFSLHE6WfwVcrzcWW2/rrbV8HSwB 8brpqaySx60= =AR2I -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<6blekg$1pei$1@node17.cwnet.frontiernet.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6blc87$nme$1@turing.mathworks.com>Show Full Headers
Complete Article Headers
Message-ID: <6blekg$1pei$1@node17.cwnet.frontiernet.net> Subject: Re: DIABLO parallel connection limit & Cyclone Date: Sun, 08 Feb 1998 00:00:00 +0000 From: dsf@frontiernet.net (Dan Foster) References: <6blc87$nme$1@turing.mathworks.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 323257693 X-Complaints-To: abuse@frontiernet.net Organization: Frontier Internet Newsgroups: news.software.nntp