🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Johannes Eggers Fri, 19 Apr 2002 02:06
Why disable NEWNEWS
#58279
Author: Johannes Eggers
Date: Fri, 19 Apr 2002 02:06
10 lines
937 bytes
What's the thinking behind some servers having NEWNEWS disabled ?

Is it a resource-issue ?  What other commands are routinely disabled ?

Thanks,

 Johannes


Re: Why disable NEWNEWS
#58273
Author: Greg Andrews
Date: Fri, 19 Apr 2002 03:09
21 lines
1570 bytes
"Johannes Eggers" <jeggers@tetrix.com> writes:
>
>What's the thinking behind some servers having NEWNEWS disabled ?
>
>Is it a resource-issue ?
>

Yes.  NEWNEWS always consumed lots of server resources in the
news server software popular in the 1990s.  One or two clients
issuing NEWNEWS commands for a week's worth (or more) of articles,
could slow the server down for everyone.

I don't know if this is still true with the news server software
available today.

  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Re: Why disable NEWNEWS
#58276
Author: Russ Allbery
Date: Fri, 19 Apr 2002 03:20
20 lines
1652 bytes
Johannes Eggers <jeggers@tetrix.com> writes:

> What's the thinking behind some servers having NEWNEWS disabled ?
> Is it a resource-issue ?

Yes.  Some older servers could not implement it efficiently (particularly
INN).  This restriction can be lifted with current INN versions, which
implement NEWNEWS efficiently.

> What other commands are routinely disabled ?

That's the main one, although disabling XHDR on non-overview headers is
also common.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Why disable NEWNEWS
#58280
Author: Johannes Eggers
Date: Fri, 19 Apr 2002 03:52
36 lines
2091 bytes
My current implementation doesn't have a separate overview database, so both
XHDR and XOVER data is pulled from the header of each message...  I guess
that's not going to work very fast for millions of messages, but at least
those are within the context of a single group.  If I understand NEWNEWS
correctly, it's across all groups.  Maybe I can use the file-date...

Thanks,

Johannes



"Russ Allbery" <rra@stanford.edu> wrote in message
news:ylelhcidbp.fsf@windlord.stanford.edu...
> Johannes Eggers <jeggers@tetrix.com> writes:
>
> > What's the thinking behind some servers having NEWNEWS disabled ?
> > Is it a resource-issue ?
>
> Yes.  Some older servers could not implement it efficiently (particularly
> INN).  This restriction can be lifted with current INN versions, which
> implement NEWNEWS efficiently.
>
> > What other commands are routinely disabled ?
>
> That's the main one, although disabling XHDR on non-overview headers is
> also common.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>           Please post questions rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


Re: Why disable NEWNEWS
#58290
Author: BOUWSMA Beery
Date: Fri, 19 Apr 2002 06:37
53 lines
3587 bytes
Mahlzeit...
%s wrote on %.3s, %lld Sep 1993

> that's not going to work very fast for millions of messages, but at least
> those are within the context of a single group.  If I understand NEWNEWS
> correctly, it's across all groups.

(context lost to top-posting, please use the handy References header
 in order to follow the conversation in proper order)

Another reason why NEWNEWS tended to fail to work at those sites which
I mismanaged, though it's a bit of the jump from how you put things
above, is that it's far too easy for a site to try to use it without
really having a clue about the resources needed to handle the full
feed that they seem to want.

I'm talking about a DSL or Cabal Modem customer who's specified the
list of newsgroups to be updated as `*' or `alt.binaries.*', from a
swerver that did in fact try to carry a full feed.

Now I don't know the bandwidth needed today by a full feed, but a
good percentage of the NEWNEWS requests (which I did log just for
statistics and good bathroom reading material) which were disabled,
were for a selection of groups that could never possibly have fit
into the connection to the customer.

At least if the customer has to be more selective in groups to be
pulled down, there *may* be relative completion in one or more of
them, rather than a random 0,5% completion across all.  Perhaps when
the customer sees that after a few hours, barely any of the binariez
froups have been sucked down to completion, a bit of common sense may
kick in to force a review of what the customer *really* wants.

Hmmm, I can see that today there are a number of newsfroups which
alone would be foolish to try to grab the whole thing over a typical
`high-speed' connection, to say nothing of `*', and way back when,
I seem to recall the volume in dk.binaer* as being rather more than
the line capacity of the customers who asked for it, though the few
figures I see this morning lead me to suspect a slowdown there.

So I disabled NEWNEWS because too often it was used improperly to
try to leech a full feed off a reader machine that already is often
pushing out far more network data than the transit machine, by
people who had just set it up and seemed to be ignoring the fact
that it wasn't working at all for months.

But that's just me.


barry bouwsma, pedophile

Re: Why disable NEWNEWS
#58305
Author: Mark Hittinger
Date: Fri, 19 Apr 2002 15:58
31 lines
2821 bytes
"Johannes Eggers" <jeggers@tetrix.com> writes:
>What's the thinking behind some servers having NEWNEWS disabled ?
>Is it a resource-issue ?  What other commands are routinely disabled ?

Newnews is the only one I'm aware of that is routinely disabled.  Basically
clients (usually suck clients) will come in and do a newnews.  The nnrpd
opens the history file and proceeds to walk through it sequentially dumping 
all history records.  Generally history files are large so this is quite
time consuming.  Clients believe something is wrong and they kill/restart
their software spawning another newnews.  Repeat until load average is above
NNRP_LOADLIMIT :-)  Having a bunch of processes at different stages of walking
through a large history file thrashes like crazy.  Add expire and crash - page
news admin at 4 am.

In the inn 2.x effort I believe newnews was actually broken for awhile due to
the changes in the history file format (and it may still be) so it was sort of
convenient to allownewnews: false rather than fix it :-)

Another issue is the newnews under rfc 977 uses two digit year codes so you
have a potential y2k issue.  I've seen some older versions of readers (agent
is one that comes to mind) that had problems sensing new groups because of
this (with the newgroup command).

Large sites would rather do a push feed than offer a suck feed anyway due to
other resource issues so disabling newnews is also a policy tool.

Later

Mark Hittinger
bugs@pu.net
Re: Why disable NEWNEWS
#58312
Author: Russ Allbery
Date: Fri, 19 Apr 2002 18:48
15 lines
1599 bytes
Mark Hittinger <bugs@pu.net> writes:

> In the inn 2.x effort I believe newnews was actually broken for awhile
> due to the changes in the history file format (and it may still be) so
> it was sort of convenient to allownewnews: false rather than fix it :-)

It was fixed quite a while back.  It's now overview-driven and should be
reasonably fast.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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