Article View: news.software.nntp
Article #90471Re: INN 2.7.1 death spiral under high load?
From: Julien ÉLIE
Date: Mon, 03 Jul 2023 16:21
Date: Mon, 03 Jul 2023 16:21
45 lines
3147 bytes
3147 bytes
Hi Russ, >> Can we talk about the implications of setting icdsynccount to a much >> much higher value than 10? I have it set to 500 now, but curious if >> there could be gains by setting this really high in my scenario where I >> know I'm not receiving duplicate articles and no articles exist on the >> destination? > > It decreases the frequency of syncs so it's a straight tradeoff between > faster speed and more data loss if innd crashes (or the system crashes, or > loses power, etc.). The risk is that if something goes wrong and innd > crashes before updating the history and active files, the sending system > may think it has successfully transmitted articles (they were acked), but > the receiving system never recorded they were received and thus while > they're on disk they're orphaned. > > If innd doesn't crash, you could set it arbitrarily high and I think it > would just make things faster. Think of it as the checkpointing > frequency. I'll improve the documentation of icdsynccount with some of your explanations. There's also an undocumented use of icdsynccount for buffindexed: the head of the buffer is flushed every 10*icdsynccount+1 articles. I can mention it in the documentation. As far as I see, other overview and storage methods flush indexes or headers for each article (tradindexed, cnfs, timecaf) or after a configurable period of time (transtimelimit of 10s by default for ovsqlite for instance). For buffindexed, maybe a dedicated option would be better, than to reuse icdsynccount? (buffindexedheadsync?) > Make sure that you've disabled sync for all of your news logs. I think > that's already covered in INSTALL but a lot of people forget about it. I'll add a note too, following one of your next articles in this thread. -- Julien ÉLIE « Traversez la rivière en foule, le crocodile ne vous mangera pas. » (proverbe malgache)
Technical Details
Message-ID:
<u7usho$2nolg$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7oljn$1chb$1@nnrp.usenet.blueworldhosting.com> <u7ollu$1jmj$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <u7q8ac$1icq$1@nnrp.usenet.blueworldhosting.com> <87h6qnb6jl.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <u7usho$2nolg$1@news.trigofacile.com> Subject: Re: INN 2.7.1 death spiral under high load? Date: Mon, 3 Jul 2023 18:21:12 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7oljn$1chb$1@nnrp.usenet.blueworldhosting.com> <u7ollu$1jmj$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <u7q8ac$1icq$1@nnrp.usenet.blueworldhosting.com> <87h6qnb6jl.fsf@hope.eyrie.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 3 Jul 2023 16:21:12 -0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:2hsNzOvlIALd0vGoMRE9pd/WQyI= sha256:/RAQb8FP+Eh1U44APrcYCLsHMYXfbtLV81Hn/0hq7j0= In-Reply-To: <87h6qnb6jl.fsf@hope.eyrie.org>