🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26363

Re: Diablo 1.15 will be ready in about 2 weeks

#26363
From: Department of Redundancy Departm...
Date: Tue, 17 Feb 1998 00:00
199 lines
10821 bytes
On 16 Feb 1998, Matt Dillon wrote:

> :>1) When a Diablo peer runs out of space, I am able to make a sucessful
> :>connection as a feeder, but only later do I get the 400 message to
> 
>     Hmm.  If a diablo peer ever runs out of space, there's something seriously
>     wrong with it...   It is my feeling
>     that if a newsfeeder sees a 400 error, it should do the right thing and
>     should not depend on the initial connection returning a 400 or 502 error.

Well it does, if you define the `right thing' as closing the connection
and going into the mode of Try Later, and keep trying less and less often
until one can make a successful connection and then All Is Good.
Unfortunately, the initial connection being successful is enough to reset
the backoff, so the reconnects are more frequent than they might be.  On
the other hand, in pursuit of the Elusive Big Waving Member Factor, I've
configured my outgoing feeds to be rather aggressive in opening
connections and trying again, since when my machines are up, I want them
to be getting news instead of waiting hours for peers to recognize it's
up and ready.

I'm not sure if the problem I'm seeing with the 400 message comes after
the article has been transferred, in the annoying DNEWS historical way
some time back.  If it is, then that's a serious amount of wasted
bandwidth outgoing.  If it's not, then my only complaint is that initially
I get the impression that it's okay to transfer news (the connect and MODE
STREAM commands return success).


On 16 Feb 1998, Jeff Garzik wrote:

> Agreed, the feeder should be smart enough to recognize a no-access
> error whereever it may appear.
> Consider, too, under normal circumstances a Diablo spool may not fill up 
> until a connection has progressed for several minutes...  Perfectly
> legitimate to return a 400 then.

Correct.  I see plenty of INN sites go down in the middle of a transfer
with some problem, and the 400 response at that time is handled properly.
However, all following attempts to connect do not reset the backoff timer
which is what I belive is happening with Diablo, causing me to try and
transfer dozens of articles per second without success.  Well, maybe not
dozens, but a significant number.


On 16 Feb 1998, Matt Dillon wrote:

> :>2) I can't tune my feed to the peer based on non-streaming rejection
> 
>     This has been a complaint for a while.  I'll stick something in my 
>     TODO.  I can't do anything about streaming rejections, but I can do
>     something about non-streaming rejections as you said.

Actually, it's perfectly reasonable to return rejections in streaming mode
as well, although in a different syntax.  There is some software I feed
out there which in fact does this, just as there is software out there
apart from Diablo which returns nothing useful in non-streaming.

I do plan to hack INN Real Soon Now to return reasons in streaming mode as
well.  Not to the extent that I proposed some time back, but with the same
strings used when non-streaming.  A reject is a waste of bandwidth, and if
a bit more bandwidth is spent to keep the same rejects to a minimum, it's
worth it.

(Not that my hacks will have any benefit to my peers, since I've told them
that almost all the rejected articles they see will be duplicates with a
small handful of other reasons.  Oh well.  Now, if I could hack the sites
I feed to return these responses, even on less than ideal connections, or
for the poor performers who reject 1/3 of what I send them, yet are so
sluggish that if I disable streaming, I can't send anything...  Argh)


> :>3) I often see a few Diablo peers apparently getting confused and
> :>returning unexpected responses to me.  I believe I've fixed innfeed not to
> :>crash on the occasional bogus respose, but I've seen Diablo peers get
> :>stuck repeatedly returning responses (431, if I remember, plus an
> :>unexpected message ID) which cause that connection to immediately close,
> :>and again, would hammer my backlog disk, if I bothered.
> 
>     What version of diablo?   I haven't had this complaint for a while,
>     I'm pretty sure I fixed it months ago.

In the case of the occasional confused response, that also happened with
the latest release.  I don't log these responses to the daily news report,
so I can't really say without a bit of tweaking which peers these are.
I've just gotten in the habit of opening streaming with one CHECK at a
time for the large articles to Diablo peers, rather than non-streaming.

In the case of the repeated confused 431 responses, I'd have to watch and
see when they happen.  I remember one peer, insync, was returning this,
soon after setting up Diablo.  That's ... lessee ... 1.14  For other peers
and a sample of this, I'd have to dredge through my logfiles.


On 16 Feb 1998, Jeff Garzik wrote:

> >    I often find that some of my outgoing feed destinations reject as 
> >    duplicates nearly all the articles I offer, even though I offer them
> >    within a few seconds of receiving them and take feeds from 9 of the top
> >    10 on the freenix 1000, but when those destinations other incoming
> >    feeds blow up, or (if INN) decide to do an expire, they suddenly start 
> >    accepting everything from me.
> 
> This may purely be a word usage problem here, but...
> I thought the idea was to *refuse* articles, not reject them as
> duplicates after the bandwidth.  Rejected articles still cost you
> bandwidth, refused do not.

This is definitely a conflict in word usage.  Here are the terms I use:
accepted --> article was offered, asked for, and delivered.
refused  --> article was offered, peer said don't bother.
rejected --> article was offered, asked for, delivered, then for some
             reason, thrown away.
This is traditional INN usage, I hate to say.  However, once an article
has been rejected, and the bandwidth spent, there are many possible
reasons why.  When I talk about a reject as a rejected duplicate, I mean
to say that it arrived at the same time via another path, as opposed to
being in a group not carried, being filtered by a spam filter, and so on.

That is, I want to be able to either tell a site, send me an article, and
then take it, or don't send me this.  I don't want what I refer to as
rejected articles.  With the configuration we're running, the only
rejects that we throw away are likely to be duplicates, plus a very small
number of articles with bad Message-ID headers, or Approved headers, or
such, which in comparison are negligible.

This fixation on rejects, duplicates, whatever... and the bandwidth they
consume, particularly when happening with the 60% of the 17G weekend
Usenet volume those posts larger than 250k devour, are reflected well in
the hacks to innfeed/innd/innreport at Tele Danmark, where I can identify
at a glance where the bandwidth is going and how.


On 16 Feb 1998, Matt Dillon wrote:

>     have a huge number of feeds I've found that INN, which pre-looks-up
>     host names, has a tendancy to fuck things up for hours if INN's inital 
>     DNS lookups fail.

There being the workaround I've adopted out of habit of adding both names
and the corresponding IP addresses to the access file.  It works great for
me, with DNS access most of the time, but periodically, IP access is
needed for some peers.


>       The person running the diablo server can certainly
>     put IP addresses in his diablo.hosts if he wants to fix certain things
>     with really really bad connectivity.  When I was sitting at 60 feeds with
>     INN, it was hit or miss whether it would be able to resolve the DNS for
>     all 60 feeds on startup due to downed remote networks.  Short of 
>     restarting INN over and over again until they all resolved, there was
>     nothing I could do about it.

Again, this all depends.  I consider it essential to use both names and IP
addresses for all peers, regardless of software.  That is, I provide the
hostname as well as the IP address whenever I start a peering.

At the moment, we have somewhat more peers to be looked up at INN start or
access reload.  Lessee...
80 peers (plus/minus a couple) on my microserver in CZ
136 peers at Tele Danmark Internet

However, I run from cron a script which does DNS lookups on all peers
every hour or so (thanks Jesper), to refresh the cache, as well as doing
it by hand before adding a new peer.  Typically I can start INN and it
will be running with no DNS access problems in a minute.  A reload of the
access file takes typically 100ms or so, then things are running again. 
And if someone's netwerk is hosed or DNS is flaky, they'll still be able
to get in via the IP address until the next reload.

As we discussed earlier, neither of us is completely happy with the access
control of both software packages.  Maybe more people will take the hints
I've given above to keep problems to a minumum.  Okay, so for both INN and
Diablo, we suggest what could be considered hacks...


>      (With INN, I basically have to restart
>     it when I change newsfeeds because I've found that ctlinnd reload has
>     a tendancy to confuse it when you have a lot of feeds configured).

Hmmm.  Apart from the building of the internal tables for each peer and
each group in the active file, I've never had a problem with reloading INN
lately.  And I would say that we have a lot of feeds, although not enough. 
With all our outgoing feeds, and an active file that needs a lot of
attention, it now takes INN a couple seconds more than a minute to add a
new outgoing feed.  That could probably be reduced to around 20 seconds if
I nuked most of the alt wasteland.  But this machine isn't optimized as a
feeder the way my other server is, where I am in agony since it takes 6 to
8 seconds to reload, dropping me a couple Freenix points each time.


Life is tough, and then you die
Barry Bouwsma, one of the Tele Danmark Internet (an ameritech company[1]) 
Newsgoons
[1] can I say that yet?


Technical Details
Message-ID: <Pine.LNX.3.96.980216233641.7679w-100000@coredump.int.tele.dk>
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

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.980216233641.7679w-100000@coredump.int.tele.dk>
Subject: Re: Diablo 1.15 will be ready in about 2 weeks
Date: Tue, 17 Feb 1998 00:00:00 +0000
From: Department of Redundancy Department <abuse@int.tele.dk>
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: 325697992
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Comprehensively Challenged
Mime-Version: 1.0
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp