🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33496

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

#33496
From: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 03 Dec 1998 00:00
149 lines
9812 bytes
On Thu, 3 Dec 1998, Ragnar Lonn wrote:

> brag about it, we enabled read access for the whole country (*.se) as

Yeah, well, I mean, that's not much, now, is it?  Maybe a third of
the population of �rhus or something?  Some fraction of our base of
paying customers?  ;-)  And presumably the Swedes know how to spend
their free time, like hunting whales or driving reindeer or whipping
each other in the sauna, unlike the danes who open all the windows
to let out the last remaining bit of warmth as they spend an exciting
fun-filled evening around the ubiquitous home computer.


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

Bingo.  I believe you have just discovered the essential karma of the
business.  I make use of it often.  Every now and then, I wander down into
the machine room after donning earplugs to mute the sound of the alarm,
cleanly sever the 622Mbit/sec cable feeding the swerver farm with a
finely-honed axe, and wander aimlessly back upstairs after giving the
thumbs-up sign to the Helldesk which has suddenly become rather busy,
and enjoy a few minutes of quiet until the large men in dark clothing
with the beeping pagers arrive from a 45km drive to mean the end of the
system working fine.


> 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.

Give the redneck a redneck!  Hang 'em high!  Find the code for XGetGroupList()
and put your hacking skills to suitable abuse!
    syslog(L_ERROR, "%s NOT using actived",
        ClientHost);
/* Bail out now while the load is still low before it's too late */
        Reply("%d CATASTROPHIC SERVER FAILURE!!!!!!!!  AIEEEE, WE ARE GOING DOWN

Or something like that.  Depends on how antagonistic a relationship you want
with your luserbase and your Helldesk.  This also assumes that actived is
normally working without failure, and that you have plans to restart it
automatically otherwise.  The only time it's been a problem here is when
the load has reached double-digits during peak hours, and that's resulted
in the temporary unresponsiveness I've seen.


> 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 

No real ideas, just as I don't know why, for the week I was away getting
mugged in CZ this was never a problem, but started with a vengeance on
Monday evening.

Possible ideas -- it may depend on the size of the active file (I really
need to take a weed-whacker to mine, again), and it could very likely be
a result of more widespread use of abusive readers that make multiple
connections that are closed after every article.  It used to be that I
could see something in the logs other than
Dec  2 22:27:52 news-inn nnrpd[181604]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:52 news-inn nnrpd[93794]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:52 news-inn nnrpd[169062]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:53 news-inn nnrpd[12124]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:53 news-inn nnrpd[12124]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:53 news-inn nnrpd[12124]: ip97.sdbnxr1.ras.tele.dk group alt.binaries.pictures.erotica.fisting 1
Dec  2 22:27:53 news-inn nnrpd[12124]: ip97.sdbnxr1.ras.tele.dk exit articles 1
groups 1
Dec  2 22:27:53 news-inn nnrpd[12124]: ip97.sdbnxr1.ras.tele.dk times user 0.020 system 0.100 elapsed 2.857
Dec  2 22:27:53 news-inn nnrpd[181604]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:53 news-inn nnrpd[181604]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:53 news-inn nnrpd[181604]: ip97.sdbnxr1.ras.tele.dk exit articles 0 groups 0
Dec  2 22:27:53 news-inn nnrpd[181604]: ip97.sdbnxr1.ras.tele.dk times user 0.010 system 0.040 elapsed 0.622
Dec  2 22:27:53 news-inn nnrpd[12138]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:53 news-inn nnrpd[169062]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:53 news-inn nnrpd[169062]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:53 news-inn nnrpd[169062]: ip97.sdbnxr1.ras.tele.dk exit articles 0 groups 0
Dec  2 22:27:53 news-inn nnrpd[169062]: ip97.sdbnxr1.ras.tele.dk times user 0.020 system 0.040 elapsed 0.591
Dec  2 22:27:53 news-inn nnrpd[93794]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:53 news-inn nnrpd[93794]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:53 news-inn nnrpd[93794]: ip97.sdbnxr1.ras.tele.dk exit articles 0
groups 0
Dec  2 22:27:53 news-inn nnrpd[93794]: ip97.sdbnxr1.ras.tele.dk times user 0.020 system 0.070 elapsed 0.710
Dec  2 22:27:53 news-inn nnrpd[11628]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:53 news-inn nnrpd[93806]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:53 news-inn nnrpd[169072]: ip97.sdbnxr1.ras.tele.dk connect
Dec  2 22:27:54 news-inn nnrpd[12138]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:54 news-inn nnrpd[12138]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:54 news-inn nnrpd[12138]: ip97.sdbnxr1.ras.tele.dk exit articles 0
groups 0
Dec  2 22:27:54 news-inn nnrpd[12138]: ip97.sdbnxr1.ras.tele.dk times user 0.010 system 0.050 elapsed 0.664
Dec  2 22:27:54 news-inn nnrpd[11628]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:54 news-inn nnrpd[11628]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:54 news-inn nnrpd[11628]: ip97.sdbnxr1.ras.tele.dk exit articles 0
groups 0
Dec  2 22:27:54 news-inn nnrpd[11628]: ip97.sdbnxr1.ras.tele.dk times user 0.020 system 0.060 elapsed 0.514
Dec  2 22:27:54 news-inn nnrpd[93806]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:54 news-inn nnrpd[93806]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:54 news-inn nnrpd[93806]: ip97.sdbnxr1.ras.tele.dk exit articles 0
groups 0
Dec  2 22:27:54 news-inn nnrpd[93806]: ip97.sdbnxr1.ras.tele.dk times user 0.050 system 0.010 elapsed 0.542
Dec  2 22:27:54 news-inn nnrpd[169072]: ip97.sdbnxr1.ras.tele.dk cant read Connection reset by peer
Dec  2 22:27:54 news-inn nnrpd[169072]: ip97.sdbnxr1.ras.tele.dk timeout
Dec  2 22:27:54 news-inn nnrpd[169072]: ip97.sdbnxr1.ras.tele.dk exit articles 0 groups 0
Dec  2 22:27:54 news-inn nnrpd[169072]: ip97.sdbnxr1.ras.tele.dk times user 0.010 system 0.050 elapsed 0.537
Dec  2 22:27:54 news-inn nnrpd[169074]: ip97.sdbnxr1.ras.tele.dk connect
[and so on]

That's actually pretty benign, as I couldn't quickly find the second of
time where we got ten connections from one dial-up plus a dozen or so
from other dial-ups.

Also, how has your number of readers changed since the time you were
running 1.7?  Although, as I note, it's really difficult to guess with
some 90% of reader software only connecting long enough to download a
single article, so that the number of actual readers has little bearing
on the number of nnrpd processes (and with multiple processes like above
from one customer, well, who knows).  What about the load on your machine?
We see problems when the load reaches double-digits, so presumably then
the new connections aren't serviced fast enough.

Our current reader machine is too slow to even do adequate feed filtering
(but normally disk access is not a problem), so we may be hitting the
point where we can't do context switching fast enough, or something.
I haven't tried to analyze why, as it's more important to do something
about it than to know what to do.

It would be my guess that the machine-gun-type connections that are
depressingly common nowadays are what is able to push you over the edge
while in the past, connections which arrived while actived was dead were
able to be serviced before too many new ones arrived, but that's only a
guess, along with an increase in the Swedish population.


> 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,

You are talking about what you saw after reboot, I presume.  What I saw
there looks more like a failure of actived, and I've never seen them at
all myself, apart from in the source code.


>  How much can go wrong?  Argh!

You're new to the business, no?  ;-)  I'm sure others can give far more
interesting stories than I have to offer.


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

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9812030138200.202-100000@coredump.int.tele.dk>
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: BARRY BOUWSMA IS A PEDOPHILE <pedophiles@vszbr.cz>
References: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <Pine.LNX.4.00.9812022329590.202-100000@cor edump.int.tele.dk> <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
X-Deja-AN: 418074696
Content-Transfer-Encoding: 8BIT
X-Sender: pedophiles@coredump.int.tele.dk
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
X-Trace: news-inn.inet.tele.dk 912650704 165612 (None) 193.163.158.4 (03-12-98 02:05:04 GMT)
Organization: Seeking a country with less than 11 months of frigid winter
Mime-Version: 1.0
Newsgroups: news.software.nntp