🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33506

Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)

#33506
From: Ragnar Lonn
Date: Thu, 03 Dec 1998 00:00
73 lines
4494 bytes
In article <Pine.LNX.4.00.9812022329590.202-100000@coredump.int.tele.dk>, 
BARRY BOUWSMA IS A PEDOPHILE <pedophiles@vszbr.cz> wrote:
>> Dec  2 19:19:44 zingo nnrpd[12109]: t1o21p21.telia.com NOT using actived
>
>(Side mumble, how is it that Telia is able to read from everyone's
>machines, including ours?)
>

Hehe, when running INN 1.7, our system had the capacity to spare, so to
brag about it, we enabled read access for the whole country (*.se) as
that wouldn't mean using expensive foreign bandwidth. Right now, I'm 
considering disabling that read access, but I'll wait a little while and
see if I can fix the problem first... I don't think disabling it would help
much either, as less than half of the connections in a day comes from
people that aren't our own customers.

>This happens when a response from actived is not received within the
>timeout period, something like ten seconds.  I've tried upping it
>somewhat, with no apparent improvement.  It appears that if you don't
>get a quick response, you're not going to get one at all, so it seems.

Aha. That explains why it doesn't happen at all first then. With no load
on the system, things work fine. 

Hmm, the above sounds a bit obvious when I re-read it: with no programs
running, the system works fine.

>Hey, what is this, another DSW or something?
>

DSW?  Damn Slow Warez?

>Trust me, as you have found out, you do *not* want to let this happen.
>The number of nnrpds rises because instead of a response being returned
>in a tenth of a second or so, you have to hash the active file for every
>connection which takes well over ten seconds, so that the rapid connect-
>download-one-article-disconnect-reconnect-repeat-ad-nauseam is no longer
>happening and you have many more parallel nnrpds all hashing the active
>file at the same time and not being responsive to allow a quick disconnect.

Uha, I'm starting to get informed now, I think. So, what probably happens
is that a newly spawned nnrpd doesn't get a response quickly enough from
actived which causes it to get smart and decide to take matters into its own 
hands - a real redneck, so to speak - and scan the active file by itself. This
causes more load, making everything slower and increasing the chance that
the next nnrpd will do the same thing.

But... how come this didn't happen in 1.7x ?  I know you write that you
see it in 1.7 too but I *never* saw it in 1.7 despite running it for a year or
two. And, by the way, we had the actived from 1.7 dying on us several 
times - this caused increased load on the reader servers and slower
reader service overall but it *never* caused 3-figure load averages or any
'doom spirals' like in this case!

And...if I start actived a little while before any nnrpd's get started, 
shouldn't it already have the active file cached and ready to be served
within a few picoseconds (well, at least within 10 seconds...) to the first,
second, and third nnrpd's being spawned?

>I haven't analyzed exactly when this is likely to happen, although it is
>invariably during our peak reader loads, and often corresponds with one
>dial-up making anywhere from ten to 25 simultaneous parallel connections
>with some crudware so-called alleged reader.

Well, understandably there are lots of new connections being made when a
system has just been rebooted but still - how come actived is so slow to
respond to the requests?  I mean, this is a daemon that does only one
simple thing - load a file into memory and serve it to clients that ask for it
on a UDP port. How much can go wrong?  Argh!

  /Ragnar

Technical Details
Message-ID: <744kmt$h6g$1@pepsi.tninet.se>
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: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <Pine.LNX.4.00.9812022329590.202-100000@coredump.int.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <744kmt$h6g$1@pepsi.tninet.se>
Subject: Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)
Date: Thu, 03 Dec 1998 00:00:00 +0000
From: prl@algo.net (Ragnar Lonn)
References: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <Pine.LNX.4.00.9812022329590.202-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
X-Deja-AN: 418040120
X-Complaints-To: abuse@algo.net
X-Trace: pepsi.tninet.se 912643613 17616 195.163.77.82 (3 Dec 1998 00:06:53 GMT)
Organization: Telenordia
NNTP-Posting-Date: 3 Dec 1998 00:06:53 GMT
Newsgroups: news.software.nntp