🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Tim Pennick Thu, 02 Mar 2000 00:00
INN2.1: Corrupt active file
#44716
Author: Tim Pennick
Date: Thu, 02 Mar 2000 00:00
15 lines
1165 bytes
All,

I've read a couple of conflicting instructions about updates to the active
file.  I thought I could safely edit my 'active' file so long as the server
was paused or throttled.  However, having restarted the server, several lines
in the active file were garbled.  It looked as though the numbering was being
written over the top of the article names.  Is editing the active file ever a
good idea, or should it only really be updated using ctlinnd?

Regards to all,

Tim Pennick

Re: INN2.1: Corrupt active file
#44691
Author: Russ Allbery
Date: Thu, 02 Mar 2000 00:00
24 lines
1727 bytes
Tim Pennick <tpennick@axion.bt.co.uk> writes:

> I've read a couple of conflicting instructions about updates to the
> active file.  I thought I could safely edit my 'active' file so long as
> the server was paused or throttled.  However, having restarted the
> server, several lines in the active file were garbled.

You *have* to do a ctlinnd reload active after you edit it even if the
server is throttled, or the server may corrupt it on restarting.  INN 2.1
is also older; the possibility exists that it's buggy in this area.

> It looked as though the numbering was being written over the top of the
> article names.  Is editing the active file ever a good idea, or should
> it only really be updated using ctlinnd?

Normally one should only use ctlinnd.  The only time I edit the active
file is when I'm making large-scale changes (>100 groups).  I have done
that, though, and done a ctlinnd reload of active before unthrottling and
it worked fine.

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

Re: INN2.1: Corrupt active file
#44910
Author: Russ Allbery
Date: Wed, 08 Mar 2000 00:00
25 lines
1647 bytes
bill davidsen <davidsen@tmr.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

> | Normally one should only use ctlinnd.  The only time I edit the active
> | file is when I'm making large-scale changes (>100 groups).  I have done
> | that, though, and done a ctlinnd reload of active before unthrottling and
> | it worked fine.

> But when you add/delete a group doesn't it restart all the feeds? You
> might get away with it on a reader machine, but I seem to recall adding
> about 50 groups to a feeder and making it *very* unhappy.

foreach g (`cat groups`)
    ctlinnd newgroup $g
    sleep 1
end

And then sometimes you have to clean up after innfeed, but that isn't too
bad.  I do it infrequently enough that it's not been a problem.  I need to
fix that bug in INN sometime, though.

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

Re: INN2.1: Corrupt active file
#44964
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
20 lines
1559 bytes
In article <ylln41djqj.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| Normally one should only use ctlinnd.  The only time I edit the active
| file is when I'm making large-scale changes (>100 groups).  I have done
| that, though, and done a ctlinnd reload of active before unthrottling and
| it worked fine.

But when you add/delete a group doesn't it restart all the feeds? You
might get away with it on a reader machine, but I seem to recall adding
about 50 groups to a feeder and making it *very* unhappy.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads