🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90466

Re: INN 2.7.1 death spiral under high load?

#90466
From: Russ Allbery
Date: Sat, 01 Jul 2023 22:39
32 lines
2259 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:

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

> If there are any other tuning suggestions that can be had as far as
> reducing extraneous things (I did set incominglogfrequency to 2000 which
> still logs about twice a second, for example)?

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.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <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
References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <87h6qnb6jl.fsf@hope.eyrie.org>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Sat, 01 Jul 2023 15:39:26 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.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-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:OT+wiTSs+xHoFHUXht2hCQmoPSk=