🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69607

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

#69607
From: UHAP023
Date: Fri, 23 Jul 2004 21:46
69 lines
3772 bytes
In alt.os.linux.slackware Jeffrey M. Vinocur <jeff@litech.org> wrote:
> In article <2m2gorFhd20lU1@uni-berlin.de>,  <UHAP023@alpha1.rhbnc.ac.uk> wrote:

[cut]

>>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).

I can confirm this.  It does seems strange that even after a reboot,
when inn restarts and the active file is re-memory-mapped writable,
that neither mtime or even ctime is updated.

> 
> 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);

I just tried this and got the above failure as before.

> 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

I am not sure it this happened -- but if the feed starts after
makehistory started but before it finishes is this going to be a
problem?

> 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.

Sounds like a good idea.
Thanks
Tom

-- 
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England. 
Email:  T.Crane@rhul.ac.uk
Fax:    +44 (0) 1784 472794
Technical Details
Message-ID: <2mdf9kFlt5goU1@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!newspeer1.nwr.nac.net!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!not-for-mail
References: <2lr0rgFg3n8bU1@uni-berlin.de> <cdb5f5$mnv$1@puck.litech.org> <2m2gorFhd20lU1@uni-berlin.de> <cdhq0q$468$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <2mdf9kFlt5goU1@uni-berlin.de>
Subject: Re: Slackware 9.0 & inn-2.3.4 ctlinnd renumber ''
Date: Fri, 23 Jul 2004 21:46:28 +0000
From: UHAP023@alpha1.rhbnc.ac.uk
References: <2lr0rgFg3n8bU1@uni-berlin.de> <cdb5f5$mnv$1@puck.litech.org> <2m2gorFhd20lU1@uni-berlin.de> <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!newspeer1.nwr.nac.net!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: alt.os.linux.slackware,news.software.nntp
Lines: 69
Sender: Tom Crane <tom@mklab.ph.rhul.ac.uk>
X-Trace: news.uni-berlin.de iGJT1BCE8GdSLImJXlwg4AsxUDtxdpZg9OQML8fe8E+gCGJco=
X-Orig-Path: not-for-mail
User-Agent: tin/1.5.16-20030125 ("Bubbles") (UNIX) (Linux/2.4.25 (i586))