🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Department of Redundancy Departm... Tue, 17 Feb 1998 00:00
Re: Diablo 1.15 will be ready in about 2 weeks
#26363
Author: 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?


Re: Diablo 1.15 will be ready in about 2 weeks
#26334
Author: Matt Dillon
Date: Tue, 17 Feb 1998 00:00
33 lines
2185 bytes
:In article <Pine.LNX.3.96.980216233641.7679w-100000@coredump.int.tele.dk>,
:Department of Redundancy Department  <ag786@yfn.ysu.edu> wrote:
:>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.

    Streaming mode responses, except for fatal conditions, must include
    the message-id.  While it is potentially legal to put a defining comment
    after the message-id, I do not think it's in the spec and I wouldn't even
    consider doing it for fear of breaking something.

    ihave responses, on the otherhand, do not need to include the message-id
    and the entire response beyond the response code can be a comment.

						-Matt
-- 
    Matthew Dillon   Engineering, BEST Internet Communications, Inc.
    <dillon@best.net>, include original article w/ any response.
    do not under any circumstances send email to joeblow@bigspender.idiom.com
    and, for gods sake, don't email bucktram@popserver.idiom.com

Re: Diablo 1.15 will be ready in about 2 weeks
#26373
Author: Brett Hawn
Date: Wed, 18 Feb 1998 00:00
37 lines
2494 bytes
My first suggestion would to be to break down which hierarchies you get from
which peers, select 5 per hierarchy (or less if they're good peers) and then
have the rest remove those hiearachies from their outbound to you. Also do
anti-aliasing, ie. say you and I peer with eachother and maxwell.syr.edu, I
would take maxwell's pathhost and alias it into your feed so that I didn't
try and feed you articles which you're going to get from maxwell, it cuts
down on rejections and it cuts down on wasted bandwidth.

On 18 Feb 1998 16:25:52 GMT, bill davidsen <davidsen@tmr.com> wrote:
>In article <Pine.LNX.3.96.980218053115.7679B-100000@coredump.int.tele.dk>,
>Department of Redundancy Department  <ag786@yfn.ysu.edu> wrote:
>
>| Needless to say, this is absurdly verbose, but, well, I'm not advocating
>| this particular software, just trying to get something I can chew on when
>| I do streaming feeds to some sites and see significant percentages of
>| rejected articles...
>
>Ditto. I have several sites complaining that I reject too much, and
>they want to tune their feeds to avoid wasting bandwidth. I can't
>find an answer with Diablo, and I may have to move them back to INN
>to solve the problem.
>-- 
>Bill Davidsen (davidsen@tmr.com)
>  Have you ever noticed when playing cards that the money you win
>with a successful bluff always looks brighter and shinier than what
>you win by fate giving you the best cards?
>


-- 
<HTML><META HTTP-EQUIV="Content-Type:text/html"> <SCRIPT>
function X() {var Text = "HTML is not acceptable for using in mail " +
"or usenet so your browser will stop."; alert(Text); parent.close();};
</SCRIPT> </HEAD><BODY onLoad="X();return true">Hi</HTML>

Re: Diablo 1.15 will be ready in about 2 weeks
#26377
Author: bill davidsen
Date: Wed, 18 Feb 1998 00:00
24 lines
1892 bytes
In article <6ccqrs$j74$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:

|     Streaming mode responses, except for fatal conditions, must include
|     the message-id.  While it is potentially legal to put a defining comment
|     after the message-id, I do not think it's in the spec and I wouldn't even
|     consider doing it for fear of breaking something.

I'm not bothered by lack of reason for rejection on a response code,
I'd rather not break my feeders, even potentially.  But I would like
to have a way to get the info in a log file so I can give people a
hint why I'm rejecting them.

I don't want sites to limit what they send me to save bandwidth
"because you reject so much." I can't help the SPAM, unless I turn
off my SPAM filters, or hack them to reject silently and return an
"okay" code, but I want to know WHY I'm doing the rejects
-- 
Bill Davidsen (davidsen@tmr.com)
  Have you ever noticed when playing cards that the money you win
with a successful bluff always looks brighter and shinier than what
you win by fate giving you the best cards?

Re: Diablo 1.15 will be ready in about 2 weeks
#26384
Author: Department of Redundancy Departm...
Date: Wed, 18 Feb 1998 00:00
56 lines
3099 bytes
On 17 Feb 1998, Matt Dillon wrote:

> :>Actually, it's perfectly reasonable to return rejections in streaming mode
> 
>     Streaming mode responses, except for fatal conditions, must include
>     the message-id.  While it is potentially legal to put a defining comment
>     after the message-id, I do not think it's in the spec and I wouldn't even
>     consider doing it for fear of breaking something.

I'd like to see that mystical, mythical `spec' I hear being spoken of so
often, or at least a pointer thereto.  I've asked this in the past but
without a definitive answer.  As far as I can tell, the only spec out
there is the reference implementation in INN, but I'd be overjoyed to be
proven wrong.

If it is illegal to return a comment, then the following software that I
feed is breaking the spec, although innfeed and innxmit have no problems
feeding it (apart from the problems inherent in the software itself):

[From a debug -d innxmit dialog]
< 238 <babhutta-ya02408000R1702982322100001@news.mit.edu> not here, please send it to me
> takethis <babhutta-ya02408000R1702982322100001@news.mit.edu>
> [ article 1633 ]
> .
< 238 <6cdo9o$a3@bgtnsc03.worldnet.att.net> not here, please send it to me
> takethis <6cdo9o$a3@bgtnsc03.worldnet.att.net>
> [ article 730 ]
> .
< 439 <34EA5CAB.6DCC@removethis.jpg.com> transfer failed - do not try
    again later (No newsgroups match {comp.graphics.apps.photoshop})
< 439 <6cdnkn$fb4@nnrp3.farm.idt.net> transfer failed - do not try again
    later (No newsgroups match {comp.emulators.ms-windows.wine})
 or
< 438 <6ccfs8$ig8$1@nntp2.ba.best.com> already have it
 or
< 239 <6ccka0$tu@huitzilo.tezcat.com> article transferred ok
 or
< 439 <34ea632c.1193746@NEWS3.IBM.NET> transfer failed - do not try again
    later (Last matched rule was a reject)

Needless to say, this is absurdly verbose, but, well, I'm not advocating
this particular software, just trying to get something I can chew on when
I do streaming feeds to some sites and see significant percentages of
rejected articles...
   seconds: 64911     art. timeout: 120
   offered: 81612    resp. timeout: 600
  accepted: 58073   want streaming: yes
   refused: 9967      is streaming: yes
  rejected: 11981       max checks: 12


Barry Bouwsma, Treacherous Newsbastard Cabal


Re: Diablo 1.15 will be ready in about 2 weeks
#26390
Author: bill davidsen
Date: Wed, 18 Feb 1998 00:00
21 lines
1704 bytes
In article <Pine.LNX.3.96.980218053115.7679B-100000@coredump.int.tele.dk>,
Department of Redundancy Department  <ag786@yfn.ysu.edu> wrote:

| Needless to say, this is absurdly verbose, but, well, I'm not advocating
| this particular software, just trying to get something I can chew on when
| I do streaming feeds to some sites and see significant percentages of
| rejected articles...

Ditto. I have several sites complaining that I reject too much, and
they want to tune their feeds to avoid wasting bandwidth. I can't
find an answer with Diablo, and I may have to move them back to INN
to solve the problem.
-- 
Bill Davidsen (davidsen@tmr.com)
  Have you ever noticed when playing cards that the money you win
with a successful bluff always looks brighter and shinier than what
you win by fate giving you the best cards?


Re: Diablo 1.15 will be ready in about 2 weeks
#26399
Author: bill davidsen
Date: Thu, 19 Feb 1998 00:00
22 lines
1961 bytes
In article <slrn6em5l5.q93.blh@staff2.texas.net>,
Brett Hawn <blh@nospam.texas.net> wrote:
| My first suggestion would to be to break down which hierarchies you get from
| which peers, select 5 per hierarchy (or less if they're good peers) and then
| have the rest remove those hiearachies from their outbound to you. Also do
| anti-aliasing, ie. say you and I peer with eachother and maxwell.syr.edu, I
| would take maxwell's pathhost and alias it into your feed so that I didn't
| try and feed you articles which you're going to get from maxwell, it cuts
| down on rejections and it cuts down on wasted bandwidth.

I think you're confusing rejections with dups. Dupds aren't a
problem, rejects are, since they use a lot of bandwidth. I don't
want to get a spotty feed if one feed goes down.
-- 
bill davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc
  Company policy prevents me from commenting on the performance of
this distributed database. However, the machines on which it runs
are called bottleneck and roadblock.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads