🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66521

Re: INN crash recovery

#66521
From: Michael Grimm
Date: Wed, 20 Aug 2003 17:45
53 lines
3707 bytes
Jeffrey M. Vinocur wrote:

> In article <874r0cjqpo.fsf@windlord.stanford.edu>,
> Russ Allbery  <rra@stanford.edu> wrote:
>>
>>INN 2.4.0 is much better, yes, in several different respects, both in
>>flushing data to disk more frequently and in having better recovery
>>tools.

I have to second this, although it isn't perfect yet ;-) I had three 
unclean shutdowns over the last two month with 2.4.0 running on a Linux 
2.4.21 PC, spool is pure CNFS and overview is ovdb.

Two recoveries left me with a running INN and some articles missing in 
CNFS. Removing the last couple of hundreds articles from the history 
and re-injecting these articles into an INN running in slave mode left 
me with an uptodate INN including overviews (besides a couple of 
duplicate entries in my KNode pointing to the very same articles. But 
that might well be a problem with my newsreader's overview database.).

The last recovery didn't work that well because my server froze right 
in the middle of my daily main feed via uucp batches. Now the overview 
was messed up as well. I decided to start from scratch.

Well, my personal backup strategy is a backup entry in my newsfeeds 
that the batcher puts into an outgoing uucp feed that will never be 
sent. So starting from scratch isn't that much of a problem for my 
little leafnode (3 million articles today).

>> INN 2.4.1 should be even better, as I have a few more ideas to
>> improve it.
> [...] 
> Which leaves me with a feature request -- it would be nice if
> tdx-util could add entries to the history file.

I have to second this! What I normaly do is: start with the last tokens 
and sm until the first articles are found and remove the history's tail 
at that point and re-inject the latest incoming and saved uucp batches.

That leads me to a further suggestion for CNFS: Save all incoming 
articles, starting from the latest CNFS flushing onwards until you 
flush the CNFS again, into a scratch tradspool. These articles could 
then be used in a recovering attempt (tool or manually) after an 
unclean shutdown. At my site the CNFS flushing takes place roughly 
every 10 minutes, thus only a few articles need to be temporarily 
saved. Even a longer period for intermittent savings could be handled. 
I do not have any idea what kind of a penalty that would be for a huge 
server, though.

With regards,
Michael
-- 
to let
Technical Details
Message-ID: <1668830.jbicnokfeI@odo.in-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.hal-mli.net!feeder2.hal-mli.net!in.100proofnews.com!in.100proofnews.com!news2.telebyte.nl!fu-berlin.de!hirsch.in-berlin.de!odo.in-berlin.de!not-for-mail
References: <Pine.LNX.4.44.0308201012570.1849-100000@news.mebay.biz> <874r0cjqpo.fsf@windlord.stanford.edu> <bi06tt$o2j$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <1668830.jbicnokfeI@odo.in-berlin.de>
Subject: Re: INN crash recovery
Date: Wed, 20 Aug 2003 19:45:10 +0200
From: Michael Grimm <trashcan@odo.in-berlin.de>
References: <Pine.LNX.4.44.0308201012570.1849-100000@news.mebay.biz> <874r0cjqpo.fsf@windlord.stanford.edu> <bi06tt$o2j$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.hal-mli.net!feeder2.hal-mli.net!in.100proofnews.com!in.100proofnews.com!news2.telebyte.nl!fu-berlin.de!hirsch.in-berlin.de!odo.in-berlin.de!not-for-mail
Newsgroups: news.software.nntp
Organization: Zarah Leander's INN
Lines: 53
Reply-To: trashcan@t-online.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: odo.in-berlin.de 1061401510 7991 192.168.2.101 (20 Aug 2003 17:45:10
 GMT)
X-Complaints-To: abuse@odo.in-berlin.de
NNTP-Posting-Date: Wed, 20 Aug 2003 17:45:10 +0000 (UTC)
User-Agent: KNode/0.6.1