Article View: news.software.nntp
Article #15763Re: Background ctlinnd renumber?
From: Per Hedeland
Date: Tue, 11 Mar 1997 00:00
Date: Tue, 11 Mar 1997 00:00
44 lines
2374 bytes
2374 bytes
In article <slrn5ibn48.qn5.serling@davids.isource.net>
serling@davids.psyberlink.net (Rod) writes:
>Per Hedeland, per@erix.ericsson.se wondered, perhaps too loudly:
"wondered"?
> >Anyway, the point is innd shouldn't spend a lot of time reading the
> >directories as it does now (or using any other time-consuming process),
> >but rather just be fed the new numbers that are produced by whatever
> >external method - the time needed to do the actual update of the active
> >file should be neglible.
>
> Well, news.daily script uses the output from wc -l on the active
> file as input to ctlinnd:
>
> ctlinnd -s -t`wc -l <${ACTIVE}` renumber ''
>
> which I would take to mean that the server is tied up for
> quite some time.
It certainly is, with the *current* scheme - that's (obviously) why
*alternate* methods are discussed, as in my article and the one I
followed up to.
[ description of non-news.daily a-group-at-a-time renumbering ]
> That way each group takes what it takes to renumber
> and between newsgroups it still allows newsreaders to do thier
> thing. It will still take a while to renumber, but the server
> won't be held up while it's happening. Any problems with this,
> or do I misunderstand the interaction of ctlinnd renumber and
> innd?
No, it should work fine, and solve the problem if it's only a matter of
the delay for connecting readers - assuming you manage to finish in 24
hours:-). Of course innd will spend the same total amount (or rather
slightly more, due to the ctlinnd interaction) of time renumbering, time
that on many servers might be better spent processing incoming articles.
--Per Hedeland
per@erix.ericsson.se
Technical Details
Message-ID:
<5g4rga$f1h$1@news.du.etx.ericsson.se>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-mailReferences:
<3324EB72.783EA40A@spinne.com> <5g3ca9$td$1@news.du.etx.ericsson.se> <slrn5ibn48.qn5.serling@davids.isource.net>Show Full Headers
Complete Article Headers
Message-ID: <5g4rga$f1h$1@news.du.etx.ericsson.se> Subject: Re: Background ctlinnd renumber? Date: Tue, 11 Mar 1997 00:00:00 +0000 From: per@erix.ericsson.se (Per Hedeland) References: <3324EB72.783EA40A@spinne.com> <5g3ca9$td$1@news.du.etx.ericsson.se> <slrn5ibn48.qn5.serling@davids.isource.net> 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: 224790681 Organization: Ericsson Telecom, Stockholm, Sweden NNTP-Posting-User: per Newsgroups: news.software.nntp