Article View: news.software.nntp
Article #33440Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)
From: BARRY BOUWSMA IS A PEDOPHILE
Date: Wed, 02 Dec 1998 00:00
Date: Wed, 02 Dec 1998 00:00
80 lines
4975 bytes
4975 bytes
On Wed, 2 Dec 1998, Ragnar Lonn wrote: > However, instead of *that* problem, another, more serious one appeared :-( > Everything actually worked fine yesterday but today we suddenly saw some error > messages from nnrpd in the logs: > Dec 2 18:36:44 zingo nnrpd[10338]: fgate01.radi.se actived socket > returned a different request-ID 826152018/825849033 Yeah, this happens quite a bit here with (relatively) high reader loads. Nothing seems to be immediately amiss, and this doesn't guarantee that failure is imminent. > Then, after a while, the nnrpd's couldn't talk to actived anymore, apparently, > and the log messages became: > 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?) 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. > but if we don't have it, reader service is *a lot* slower and more resource- > consuming. In this case, after nnrpd starts reporting that it isn't using > actived the number of nnrpd's on the system begins to rise, likely because > the users thinks things are too slow so they try to reconnect, and so does > the load on the system. Right now, the reader servers stay at around 900 > or so, load average, which is a subtle indication that something is amiss :-I Hey, what is this, another DSW or something? 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. In fact, you really want to hack the code so that instead of bitching loudly before falling back on the conventional hashing of the active file for every nnrpd, which as you have seen results in little more than an increasing spiral of doom until, well, until someone logs in and kills off all the readers to bring the load down to tolerable levels, or at 2 the next morning when people have given up and gone to sleep so that the number of readers has dropped to the point where actived can take over again... You really want to fix things so that you never fall back the way the code is written. Instead, you want to hack the code so that if you don't get a response from actived at connect time, you return a temporary failure message. We do that now, and it's made a big difference as to whether I can sleep evenings without having nightmares about whether the swerver load is in triple digits or four. Usually things return to normal a few seconds later, although some of our customers have raised many an eyebrow about my choice of the failure message. It's strictly a defensive measure, kicking off those new readers who are about to topple things over before things actually start to topple and suck for everyone, not just the few who get temporarily inconvenienced. 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. > did also work fine with INN 1.7 - has the actived system really changed > that much since then? I doubt it, as I see this with 1.7 exactly as you do, and only seems to be worse now with an approximate doubling of reader load using abusive programs to suck out as many pr0n binariez as they can get before the karlkancels wipe them out.
Technical Details
Message-ID:
<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-mailReferences:
<74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9812022329590.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: Wed, 02 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> 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: 418026941 X-Sender: pedophiles@coredump.int.tele.dk Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news-inn.inet.tele.dk 912641056 111428 (None) 193.163.158.4 (02-12-98 23:24:16 GMT) Organization: NOT HERE YOU DON'T Mime-Version: 1.0 Newsgroups: news.software.nntp