🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69505

Re: Slackware 9.0 & inn-2.3.4 ctlinnd renumber ''

#69505
From: Jeffrey M. Vinocur
Date: Tue, 20 Jul 2004 00:46
70 lines
3992 bytes
In article <2m2gorFhd20lU1@uni-berlin.de>,  <UHAP023@alpha1.rhbnc.ac.uk> wrote:
>In alt.os.linux.slackware Jeffrey M. Vinocur <jeff@litech.org> wrote:
>> In article <2lr0rgFg3n8bU1@uni-berlin.de>, 
><UHAP023@alpha1.rhbnc.ac.uk> wrote:
>>>I'm running on the above platform and find the above command does
>>>nothing and returns instantly with Ok. ie. the active file is
>>>untouched, everything else appears OK. eg.,
>> 
>> You haven't explained what your problem is exactly.  Is your
>> active file out of sync with your overview data?
>
>No. The server responses to eg. GROUP, LISTGROUP and XOVER commands do
>tally with the active file contents.

Well then, the expected behavior -is- to do nothing.  


>It does seems incongruous that the active file ctime remains unchanged
>from a more than a month ago, despite news.daily running nightly,
>expiring articles and running 'ctlinnd renumber ''' which must be
>altering the hi,lo counts.  Maybe this is an mmap/OS filesystem
>flushing issue [...]

Yup.


>but if the active file ctime is never updated following
>a renumber is has unfortunate consequences for incremental backups,
>for example. I'll try copying it and diffing in a couple of days time.

Oh!  Now I see what your actual problem is.

I believe the contents are updated even if the timestamp isn't,
although I'm not sure of that (and it's probably OS-dependent).

Note that having a backup of the active file is not as useful as
it initially appears.  (You do need to know what groups you were
carrying, and some approximation of the high watermark in the
event of catastrophe, but in most cases the numbers in the spool
are more reliable than the active fine so you're going to rebuild
anyway.)


>There is a related issue that following a 'makehistory -b -f history
>-O -l 30000 -I' the active file does appear to go out of sync which
>leads to the "SERVER throttle File exists writing SMstore file --
>throttling" failure.

You need to renumber -before- the server throttles.  There are a
couple ways to do this:  you can gamble that if you do it right
when the server starts, none of your peers will have started
feeding you articles yet (this always worked for me in the past);
you can comment out your incoming.conf so that nobody can feed
until you've done the renumber; you can pass "-r" to innd (but
that's tricky if you're using rc.news); or probably the best
solution, which is to upgrade to a current version of INN where
the renumber is performed automatically on the first start after
an overview rebuild.


>> When you run `ctlilnnd renumber`, what do the logs show?
>
>Nothing at all -- not at any priority level.

This indicates that no renumber was needed.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <cdhq0q$468$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news-spur1.glorb.com!news.litech.org!not-for-mail
References: <2lr0rgFg3n8bU1@uni-berlin.de> <cdb5f5$mnv$1@puck.litech.org> <2m2gorFhd20lU1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <cdhq0q$468$1@puck.litech.org>
Subject: Re: Slackware 9.0 & inn-2.3.4 ctlinnd renumber ''
Date: Tue, 20 Jul 2004 00:46:18 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <2lr0rgFg3n8bU1@uni-berlin.de> <cdb5f5$mnv$1@puck.litech.org> <2m2gorFhd20lU1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news-spur1.glorb.com!news.litech.org!not-for-mail
Newsgroups: alt.os.linux.slackware,news.software.nntp
Organization: Litech Systems Design
Lines: 70
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1090284378 4296 66.218.0.75 (20 Jul 2004 00:46:18 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 20 Jul 2004 00:46:18 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)