Article View: news.software.nntp
Article #92588Re: inn: shrinking a cycbuff while keeping articles
From: Julien ÉLIE
Date: Sun, 21 Dec 2025 19:37
Date: Sun, 21 Dec 2025 19:37
76 lines
4267 bytes
4267 bytes
Hi Adam, > I have to move my server to another machine and want to reshape the > spooling system That's the opportunity to improve the design of your storage method(s). > so I thought about using the slave mode, but I'm not > convinced that articles on the slave server will have exactly duplicated > numbering. I'll feel safer just moving files. Or are my fears > unsubstantiated? The slave mode (xrefslave set to true in inn.conf) will keep the same article numbers; you can rely on it. Please have a look at "6.4 Feed all articles on a server to another server": https://www.eyrie.org/~eagle/faqs/inn.html#S6.4 > I'm worried about the word "attempts" in the inn.conf doc: > > https://linux.die.net/man/5/inn.conf > > "If set, INN attempts to duplicate exactly the article numbering" I have just had a look at how innd behaves if it does not manage to parse the Xref header field containing the original article number. It just rejects the article and does not store it. The wording in the documentation is unfortunate. I suggest changing it to "If set, INN duplicates exactly the article numbering [...]" and adding "If there is no Xref header field or it is unparseable, the article is rejected." > Plus this: > > "The upstream should be careful to always feed articles in order > (innfeed(8) can have problems with this in the event of a backlog)." > > How to do it? If you follow the procedure in the above FAQ, the articles are sent by arrival time on the old news server, so the article numbers are in order (assuming it was not running itself as a slave). In the wording in the documentation, I doubt innfeed will actually have a problem. I would suggest to reword it this way: The upstream server should be careful to feed articles in order so as to keep the history file of the slave server chronologically ordered (news readers fetching articles with NEWNEWS, that is to say by arrival time, may otherwise retrieve articles in disorder). See "doc/FAQ" (subject 6.4) for an example of use of this parameter when feeding all articles on a server to another server, keeping their chronological ordering. > In general, slave mode doesn't seem to be convincing, as if anything goes > wrong with numbering, results might be unpleasant for users, but hard to > spot for me... > > But maybe I'm overparanoid? I never used this mode before. I hope the new wordings are now better. Thanks for pointing that out! I have used several times that parameter when installing a new news server, and never run into any issue. -- Julien ÉLIE « Un classique est quelque chose que tout le monde voudrait avoir lu et que personne ne veut lire. » (Mark Twain)
Technical Details
Message-ID:
<10i9i9k$1sbtr$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:7d1b:83e8:c3b8:7461!not-for-mailReferences:
<800dd3c3-950c-4d38-9811-3ef37c501e54-aw@news.chmurka.net> <10i8gpk$1s1ci$1@news.trigofacile.com> <b9f026a8-5267-43d9-9cab-562db233e92d-aw@news.chmurka.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:7d1b:83e8:c3b8:7461!not-for-mail From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Newsgroups: news.software.nntp Subject: Re: inn: shrinking a cycbuff while keeping articles Date: Sun, 21 Dec 2025 20:37:23 +0100 Organization: Groupes francophones par TrigoFACILE Message-ID: <10i9i9k$1sbtr$1@news.trigofacile.com> References: <800dd3c3-950c-4d38-9811-3ef37c501e54-aw@news.chmurka.net> <10i8gpk$1s1ci$1@news.trigofacile.com> <b9f026a8-5267-43d9-9cab-562db233e92d-aw@news.chmurka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 21 Dec 2025 19:37:24 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:7d1b:83e8:c3b8:7461"; logging-data="1978299"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:UpKMxeV0M4l0P+TC2R9A/Gwf354= sha256:neQBZo3WU3gXjYEUtRlaoWsGSU/JPqCkR1iGTLKbrRc= sha1:FrOWsqIP+yKQgp/3wYPPtLE3WbI= sha256:jZWyUf6tjLAhVZ+Xm2l9FfGJHSvT7KSOZh1HNDFBtuE= In-Reply-To: <b9f026a8-5267-43d9-9cab-562db233e92d-aw@news.chmurka.net>