๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91424

Re: INN 2.x FAQ

#91424
From: Ray Banana
Date: Thu, 28 Dec 2023 10:50
45 lines
2910 bytes
Thus spake Julien ร‰LIE <iulius@nom-de-mon-site.com.invalid>

Just two remarks to avoid some issues that can lead to problems and
unpalnned outages of the server:

> Bonjour llp,
>> - I'd also like to see a point for transferring a server to another machine with
>> the least possible hassle for users (no renumbering of items or other hassles).
>> I have an ulterior motive: I'm going to change server soon.
> Such a transfer is normally described in "6.4. Feed all articles on a
> server to another server" of the FAQ.
> I wish you the best for your upcoming change of server.

Always use xrefslave: true on the target server during the transfer to
keep the article numbers the same as on the source server to avoid
coofusing your clients after you switch to the new server. 


>> - The same question when changing storage method (I plan to switch from
>> tradspool to overdb)
> I suggest that you do the change while changing your server.  This
> way, there's no forced rebuild to do as your new server will recreate
> overview data when receiving articles.  You just have to configure it
> with the wanted overview storage method in the ovmethod parameter of
> inn.conf.

I strongly recommend not to use ovdb (Berkeley DB) as it can cause database
corruption after a crash and the rebuild is painfully slow. It can also
create absurdly large database files if you have large gaps in your
article numbers which directly affects the memory use of your nnrpd
processes.

It also lacks utilities like tdx-util or ovsqlite-util. Depending on the number
of clients it also requires tweaking the DB_CONFIG to improve
performance. I used ovdb for almost 2 years and eventually went back to
tradindexed after the Linux kernel bug that killed servers in full
flight at midnight on New Years Day 2012 and completey destroyed my
overview database.

I'm currently testing a migration to ovsqlite and so far it looks much
more reliable than ovdb.

-- 
ะŸัƒฬั‚ั–ะฝ โ€” ั…ัƒะนะปะพฬ
https://www.eternal-september.org
Technical Details
Message-ID: <8mh6k2zjmg.fsf@raybanana.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <FAQ-faq-1703145662$7415@hope.eyrie.org> <umfnk3$21dfa$1@news.trigofacile.com> <ar7poi1acngb6k6vucmlfm7bbkhn1oenm1@news.usenet.ovh> <umj82k$24hia$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <8mh6k2zjmg.fsf@raybanana.net>
Subject: Re: INN 2.x FAQ
Date: Thu, 28 Dec 2023 11:50:15 +0100
From: Ray Banana <rayban@raybanana.net>
References: <FAQ-faq-1703145662$7415@hope.eyrie.org> <umfnk3$21dfa$1@news.trigofacile.com> <ar7poi1acngb6k6vucmlfm7bbkhn1oenm1@news.usenet.ovh> <umj82k$24hia$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 45
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Plonkenlights
Cancel-Lock: sha1:y6S8is0Deg+NdbImo3iz0mqvkWY= sha1:uWS/KFXZTAIgIKFHQXP54XrUNCE=
X-Attribution: Ray Banana