🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50542

Re: inn 2.3 storing problem

#50542
From: Charlie Can'trenumber
Date: Sat, 10 Feb 2001 05:58
94 lines
6263 bytes
:: > With a bad power-down style crash there's also always the _possibility_
:: > that the articles/overview/history will be out of sync anyway. So
:: > trashing the overview/history and doing a complete rebuild may be
:: > necessary.
:: 
:: It *shouldn't* be, damn it.  *grumble*  It never used to be.  INN used to
:: cope.  It should be able to cope.  I want to get back to that point.

Why do people mention bad power-down style crashes?  It's not like
CPU5 Ecache Writeback Data Parity Error happens from coincidence a
mere few hours after a CPU1 UE Error: Ecache Copyout on CPU5 error
bringing down the system.  On a weekend.  When people are actually
starting to make use of this machine.

Anyway, after the first loverly crash, I knew it would be necessary
to rebuild the history databases from the text file, which has become
a routine crash recovery for me.  However, in checking a few text
groups, the last art (in this group, made 40 mins before panic) was
missing, and in another, six previously-present articles were replaced
by a gap of two, one readable (not crossposted), and three missing.
But earlier articles in these text froups seemed readable.

However, alt.binaries.news-swerver-comparison did not fare so well.
All articles before the crash were not present in either overview
command requests or `head' requests.  The active file indicated they
should still be present.  The tradindex .DAT file had all the info.
I couldn't clearly see .IDX b0rkenness.

And worse, looking at the other binaries froups, *every* post that
had arrived before the crash was unreadable, in groups spanning two
cycbuffers, and different from the a.b.n-s-c cycbuff.  I didn't have
time to check all cycbuffers.

Of course, when actually trying to look at the contents to do further
research, suddenly the machine stopped answering, and the second crash
and panic happened.  I could be cursed.

After this second panic, apart from a small gap of missing articles,
no doubt due to INN buffering of data +/- the OS caching the writes,
those articles that had arrived between crashes were visible in the
text froups.

In the limited looking, it seems the buffer where the bitmaps point to
only smaller articles (text, <some kB size) allowed retrieval of old
posts, but I haven't checked all the cycbuffs to see if the pattern
still holds.

Now, things ran relatively smoothly after the first crash.  After the
second, and after manually fscking things that failed automagically
(strangely, the very same disk devices that needed fscking before),
when I did start things, I failed to look in the logs before closing
my eyes.  When they did open far too few hours later, I saw innd still
was not taking much CPU.  Waking with a start, I saw news.err logged
that innd can't renumber.  Also, while I was asleep, expireover had
logged that SM couldn't find token type or method was not initialized
(101), but I think I saw expireover running still.  And when I did
restart innd, this time it started.  I still need sleep.  Badly.

I'm not going to even try to figure out the problems until I get more
sleep (by which time the cycbuffs should have all cycled a few times),
but it's scary that the old articles just ... disappeared.

For some reason, all posts in a.b.n-s-c before two hours ago are
unavailable.  Those in a local dk binariez froup where someone seems
to be posting a ton of multimedia seem to have the same problem.  The
text froups again are unaffected.

Even before this crash, I was suggesting to my replacement that for
a must-be-100%-reliable machine that he needs to build like yesterday,
that the present INN was not satisfactory.  I suggested 1.7+insync,
but I'd like to know if you seriously recommend a later version.  Also,
company policy requires running unmodified source k0de, so if you have
better suggestions, I'd pass them along.  He was planning to run 2.3,
but I didn't think that to be too good an idea, based on my experiences
and these crashes.

This crashing machine is the same one where I just added the virtual
host timezone hacks, so it's probably my fault.  I'll mail them to ya
but I added another argument to maketime() where the timezone is given,
but since k0de is still being run without this, I didn't make this a
clean hack, instead adding a hacked makelocaltime() until I can start
out on a clean machine not running other unhacked nnrpd (and inews)
k0dez at the same time, so it'll need a lot of massaging as it is.

Anyway, I'm disturbed by three apparently unrecoverable binariez
spools, perhaps more.  Expireover seems to have purged many of the
old pointers that I'm guessing were valid from the earlier crash,
they certainly have not been self-expired with this downtime, as
this machine barely can keep up with 100% uptime, and I have no
headroom for hours of backlogs.

Or this is a sign for me to leave NOW and head elsewhere and do
something else with my life, like drink heavily.
Technical Details
Message-ID: <962l9d$1k9$1@news.banga.lt>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!news.tele.dk!news.Banga.LT.POSTED!noo-foo-mail!not-for
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx> <20010210.013729.9E9801DE.pbaa@pierrot.co.uk> <ylr917xneq.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <962l9d$1k9$1@news.banga.lt>
Subject: Re: inn 2.3 storing problem
Date: Sat, 10 Feb 2001 05:58:06 +0000
From: Charlie Can'trenumber <autocyberretributionmeowbot@pl0nk.invalid>
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx> <20010210.013729.9E9801DE.pbaa@pierrot.co.uk> <ylr917xneq.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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!news.tele.dk!news.Banga.LT.POSTED!noo-foo-mail!not-for
Newsgroups: news.software.nntp
Organization: Customer of Bite GSM / Banga Lithuania
Lines: 93
NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.banga.lt
X-Trace: news.banga.lt 981784686 0855e5c11294ffc3d46ed4dbb787d741
X-Complaints-To: Banga/Bite Abuse <abuse@banga.lt>
X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300