🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37029

Re: Submitting to Freenix

#37029
From: barry (there is no barry)
Date: Mon, 26 Apr 1999 00:00
48 lines
3308 bytes
On 26 Apr 1999, Russ Allbery wrote:

> Per Hedeland <per@erix.ericsson.se> writes:
> > Yes, I guess so - actually it wouldn't even have to close the
> > connections, just log "final" values and reset the counters. Of course
> > there's no way to do the latter in the current INN code, but a 'ctlinnd
> > throttle' / 'ctlinnd go' just prior to running news.daily should work
> > OK.
> 
> >>TODO

Two things -- a throttle is not guaranteed to make all your pesky
peers give up and go away.  Notably, a relatively idle connection
that isn't trying to do anything from the time of throttle to the
time of `go' won't even be aware of the throttle.  But more
importantly, I could throttle an active swerver and watch the
number of connected peers dive relatively rapidly from the hundreds
down to where it stabilized around 50 or 60 or so, and those peers
who stayed connected were all running NNTPRelay, namely Maxwell,
Berzerkeley, UOregon and such.  Apparently NNTPRelay doesn't act
like most swerver software and close its connections upon seeing
a `400' response.  This throttle/go will be enough to get your
Cyclone pheeders who routinely miss a day in daily summaries
derived from final INN news.notice logging, whupped into shape.

Secondly, while one could presumably `ctlinnd hangup' all the
incoming connections, it would be better to add code to log
final stats and reset the counters to zero.  I've gone ahead
and counted the number of incoming articles not only from the
news.notice file with INN, but also from the news logfile which
gets updated for each article rather than at close time, to get
a more accurate daily count of how much junk there is out there.

While we're picking on innfeed, one of the reasons I upped the
time between forced closing of active connections from the
default of one hour to often more than a day, is because when
innfeed closes its connections, it closes all of them at once
and opens new ones, and that's the point where articles need
to be written to backlog tapes (or thrown away), not because
the peer cannot keep up, but rather because I think innfeed
should be more graceful in staggering close/opens, even to
open the new connection before closing the old one.  Which
isn't always successful when your peer has limited you to
an absurdly low number of connections, and you need to use
all of them to shovel all the crud they can eat at them.


Technical Details
Message-ID: <Pine.LNX.4.05.9904261730010.1558-100000@penguin.mendelu.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: <m3vhf1q7y5.fsf@sgifford.tir.com> <ylk8v2x2be.fsf@windlord.stanford.edu> <7fvpl0$sus$1@news.du.etx.ericsson.se> <yln1zwmfo1.fsf@windlord.stanford.edu> <7g0dd5$5uo$1@news.du.etx.ericsson.se> <yl676jljn2.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.05.9904261730010.1558-100000@penguin.mendelu.cz>
Subject: Re: Submitting to Freenix
Date: Mon, 26 Apr 1999 00:00:00 +0000
From: "barry (there is no barry)" <barry@vszbr.MISMATCH!>
References: <m3vhf1q7y5.fsf@sgifford.tir.com> <ylk8v2x2be.fsf@windlord.stanford.edu> <7fvpl0$sus$1@news.du.etx.ericsson.se> <yln1zwmfo1.fsf@windlord.stanford.edu> <7g0dd5$5uo$1@news.du.etx.ericsson.se> <yl676jljn2.fsf@windlord.stanford.edu>
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: 471685218
X-Sender: barry@penguin.mendelu.cz
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Send help!!!
Mime-Version: 1.0
Newsgroups: news.software.nntp