🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85783

Re: Starting: New NNTP server development

#85783
From: Jarle Aase
Date: Thu, 11 Jul 2013 04:58
29 lines
2901 bytes
Den 10.07.2013 21:46, skrev Russ Allbery:
> If you ever have to rebuild the databases from the source articles, it's
> going to take forever.  I don't think there's any way around that.  I
> would try instead to make the databases more robust against corruption,
> either with more hardened code and more sanity checking or with some sort
> of backup/journalling approach where you can fall back to a known-good
> database and then replay the subsequent data.  Or possibly both.

Hi,

Rebuilding from source articles will be a nightmare on a production server.

I agree that the best approach is to try to avoid that. In my 
experience, the most common reasons for database corruption has been 
file system corruptions (driver bugs with some RAID controllers), memory 
corruption on the server, kernel panic and disks running full.

If I shut down the service when the disk is almost full, I can avoid the 
disk full problem. A cluster with fail-over database servers should be 
able to deal with hardware issues on the primary server. (The fail-overs 
can also be used for load-balancing of database lookups, so they are 
basically a good thing all over for larger installs).

jgaa
-- 
Jarle Aase
Author of free software

<<< no need to argue - just kill'em all >>>
Technical Details
Message-ID: <51DE3B79.4040802@jgaa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <krj2c7$mao$1@speranza.aioe.org> <slrnktqjlr.a2.steve@snorky.mixmin.net> <87d2qql0c6.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <51DE3B79.4040802@jgaa.com>
Subject: Re: Starting: New NNTP server development
Date: Thu, 11 Jul 2013 07:58:33 +0300
From: Jarle Aase <jgaa@jgaa.com>
References: <krj2c7$mao$1@speranza.aioe.org> <slrnktqjlr.a2.steve@snorky.mixmin.net> <87d2qql0c6.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 10 Jul 2013 23:58:35 -0500
Organization: Jgaa's Internet
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
MIME-Version: 1.0
Newsgroups: alt.comp.jgaa,news.software.nntp
CC: jgaa@jgaa.com
In-Reply-To: <87d2qql0c6.fsf@windlord.stanford.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-nObImfPOsSVeOkTx/bYxmZR/uDGp2EaDP3zQnMVD/Pf+dwQ+reikfOJnLIKgeaCtM82lTy1vNt8NiI3!esTACSjsywVjwGF/NMzpIVqlA4dmKDXmhUgNjO3erafImQFR1Q==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2610