🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84032

Re: Rebuilding overview

#84032
From: Julien ÉLIE
Date: Fri, 06 May 2011 18:19
58 lines
3381 bytes
Hi Steve,

> I'm about to rebuild the history/overview on news.mixmin.net and would
> appreciate a sanity check on the process.

Does your history also need rebuilding?


> I also plan to switch from
> the current buffindexed method to tradindexed to make recovery from
> future issues easier (via tdx-util).
>
> 1) Change ovmethod in inn.conf
> 2) Stop server
> 3) Delete ~/db/history*
> 4) Rebuild with makehistory -O -x -F
> 5) Start server

If you give the "-x" flag to makehistory, *no* history files will be 
rebuilt.  As you do not change the storage location of articles, I do 
not think step 3 (deleting history) should be done.
So "-x" is fine; but please do *not* delete your history!

I think that you will also want tweaking tradindexed-related inn.conf 
parameters like overcachesize (256? 512?) and tradindexedmmap (true).


> I assume the old buffindexed files can then be deleted as they'll no
> longer be in use?

Anyway, they are not used in the process.  The (tradindexed) overview is 
rebuilt from the articles in the news spool.  The previous (buffindexed) 
overview is not used.



Please do not hesitate to tell me in case I said something wrong in this 
article.


I am also wondering whether someone has already tried such a rebuild 
without any interruption of service longer than a minute for the 
readers?  I mean that innd is stopped, nnrpd is launched as a daemon 
(ports 119, 563 or others) with buffindexed overview.  Reading would 
then be fine.  Posting would be deferred (saved on the disk, and 
processed later by "rnews -U").
The migration of overview is done (just have "tradindexed" mentioned in 
inn.conf at the moment you start makehistory).
After the migration of overview, nnrpd is stopped.
Then INN is switched to tradindexed only, and started in your usual way.

Any comments about such a scenario?

-- 
Julien ÉLIE

« Si Dieu n'est pas marié, pourquoi parle-t-on de sa grande
   Clémence ? » (Raymond Devos)
Technical Details
Message-ID: <iq1e3h$59m$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-58-71.w83-200.abo.wanadoo.fr!not-for-mail
References: <slrnis7i5f.bet.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <iq1e3h$59m$1@news.trigofacile.com>
Subject: Re: Rebuilding overview
Date: Fri, 06 May 2011 20:19:28 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnis7i5f.bet.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-58-71.w83-200.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 May 2011 18:19:29 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-552-1-58-71.w83-200.abo.wanadoo.fr:83.200.1.71";
 logging-data="5430"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <slrnis7i5f.bet.steve@news.mixmin.net>
Lines: 58
X-Original-Bytes: 3171