🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36924

Re: INN 2.2 - Making large changes to active file

#36924
From: Russ Allbery
Date: Thu, 22 Apr 1999 00:00
30 lines
1880 bytes
Brad Knowles <brad@shub-internet.org> writes:
> David Spigelman <dspigelm@acp.org> wrote:

>> I want to make some big changes to my active file, removing several
>> hundred groups. How do I do this?

> You can do this two ways:

> 1.  Stop the news server, edit the file, restart the news server.

> 2.  Feed the newsgroups to ctlinnd, but make sure that you sleep
> something like four seconds between calls to this program, to give INN a
> chance to keep up.

I highly, *highly* recommend #1, particularly when removing groups since
you're then just deleting lines.  You *shouldn't* have to stop the server
completely; throttling it is sufficient (I've heard of bugs in old INNs
that can cause corruption this way, but I think they were stamped out long
ago).  Just make sure to do a ctlinnd reload active after you're done.

Even with the sleep in #2, each time you do a ctlinnd rmgroup, the server
flushes and closes all of its batches, stops all feed programs, reloads
the active and newsgroups files, and then reopens all of its batches and
reforks all feed programs.  For every newsgroup.  This is a lot of
needless work compared to just editing the active file directly.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl90bl57ir.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!not-for-mail
References: <371CB0A4.2B8ADA99@acp.org> <brad-2204991102130001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <yl90bl57ir.fsf@windlord.stanford.edu>
Subject: Re: INN 2.2 - Making large changes to active file
Date: Thu, 22 Apr 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <371CB0A4.2B8ADA99@acp.org> <brad-2204991102130001@brad.techos.skynet.be>
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!not-for-mail
X-Deja-AN: 469485359
Organization: The Eyrie
Newsgroups: news.software.nntp