🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26081

Re: DIABLO parallel connection limit & Cyclone

#26081
From: Another Victim of the Usenet Maf...
Date: Tue, 10 Feb 1998 00:00
89 lines
5813 bytes
On Mon, 9 Feb 1998, Jeff Garzik 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.

> : have three streams open to them and their Diablo insists that I've
> : topped 22 parrallel connections.  Bizarre.

> Yep.  Diablo is not counting properly.  I have seen this quite a bit
> with Diablo peers I was feeding; often, this behavior occurs when
> no label is specified for a host in /news/diablo.hosts.  When I ran
> Diablo on my main feeder a while ago, I had so much trouble with the
> incoming cxn counting that I was forced to turn it off.

    Well, that's better than some of the sites I see.  I noticed one peer
was rejecting all my connections saying that my limit was one single
connection.  Of course, since I divide all my outgoing feeds by size into
several streams (so that one news.lists.filters article doesn't hold back
several dozen other articles), and further, often wind up supplying a
significant amount of news to peers over networks which cannot support the
15 to 20 arts/sec prime-time rates over a single connection (I've even
been sending CHECKs to Cyclone peers at less than one every ten seconds, a
rate which improves to 50/sec when the lusers go home), and keeping the
number of CHECKs down to a minimum, often going non-streaming to minimize
the lag between offering an article and actually delivering it...

    Anyway, what I wanted to say was that with a network that makes a pogo
stick look like a model of stability, I often see connections time out, so
that the remote peer is likely to think the connection is still active,
even when I've long given up on it.  I hate crashes, especially when
they're out of my control.  Even when they're not, too.

    In any case, this is something I've wondered about, and not gotten
authoritative answers yet.  I've heard that Diablo forks itself to death
quickly when put into high-load situations, like we had been seeeing at
Tele Danmark even before I was turned toose on the news swervers.  (For
example, I've got open some 12 to 15 parallel non-streaming connections
from one of my feeder machines over a tolerable connection to the feeder
here, which would probably cause most newsadmins running Diablo to choke
on their morning coffee, but doesn't make me blink [unless I see a queue
outbound, to which the answer is, aieee, more connections dammit and
fast!].)

    Once I discovered the 256-fd select loop problem and worked around it,
so that our machine handles 300 incoming connections without blinking
either, yet saw that certain peers running Cyclone, of all products, were
putting a limit on less than what our open-as-needed feeder wanted to use
to deliver articles without backlogging...  Anyway, would someone care to
enlighten me on what the penalty is for each popular news swerver for each
connection open?  Cyclone, being threaded, so I've been told needs a 1M
thread for each connection, but otherwise, most Cyclone admins have told
me to open whatever I need to get the articles through, particularly when
meeting my desire not to waste any bandwidth due to rejected duplicates.

    In the case of INN, with its select loop, I think I recall reading
that one particular OS had a patch to reduce the time needed to cycle
through 256 fd's down from ms to us, or something.  In our case, with
history lookups at 100 000 in a second or two, article write times from 1
to 5ms, I measure no significant slowdown with 300 incoming connections in
spite of the single-threaded nature of INN.  We are a bit short of memory,
which would be allocated to buffers for incoming connections, but it is my
guess that what is needed pales when compared with the size of the history
databases we keep to store 15 days of a full newsfeed.

    Anyway, I see no need to limit incoming connections, particularly when
one Cyclone feeder said he'd be seeing problems well before what I figured
would be our next bottleneck (without rebuilding the kernel), and
especially when seeing how much bandwidth we're wasting on duplicate
articles from poorly-tuned incoming feeds, which I'd much rather see as
non-streaming feeds over 25 channels, at least, until our backbone is no
longer at 100% capacity most of the day (and not just news either).

    Hmmm.  I seem to have forgotten what the original purpose of this rant
was meant to be.  Ah, yes -- seeking comments from more knowledgable
individuals about the neeeds of different software (and the capabilities
thereof) for handling additional incoming connections.

    Over to you...


Barry Bouwsma, for the Tele Danmark Newsbastard Squad
Newsadminning Overkill, a condition for which there exists no 12-step
recovery program, but which, rumour has it, can be treated


Technical Details
Message-ID: <Pine.BSF.3.96.980210140536.26751D-100000@marley.vszbr.cz>
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
References: <6blc87$nme$1@turing.mathworks.com> <34DF5805.B9B@mci.net> <FOJD.7$Na7.26576@news2.teleport.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.980210140536.26751D-100000@marley.vszbr.cz>
Subject: Re: DIABLO parallel connection limit & Cyclone
Date: Tue, 10 Feb 1998 00:00:00 +0000
From: Another Victim of the Usenet Mafia <barry@vszbr.cz>
References: <6blc87$nme$1@turing.mathworks.com> <34DF5805.B9B@mci.net> <FOJD.7$Na7.26576@news2.teleport.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: 323743424
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Any time of the day is the right time for CHOCOLATE
Mime-Version: 1.0
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp