🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91442

Re: INN 2.x FAQ

#91442
From: Julien ÉLIE
Date: Tue, 09 Jan 2024 18:38
53 lines
3089 bytes
Hi Andreas,

> Checking the man page for inn.conf, it's coming back to me and you're
> probably spot on with your assesment that overcachesize is what caused
> the issue. 1024 fds is the default limit for select() on FreeBSD,
> something we didn't realise at the time so we only checked the maximum
> allowed open files limit.

OK, thanks for your confirmation.
I am therefore pretty confident that the sanity-check fix in INN 2.7.2 
solves your 100 % CPU problem.

Suppose you have 1000 open cache tradindexed slots, 24 fds used for innd 
channels, and overcachesize set to 1024, then:
- more cache slots can be opened (up to 1024 slots, and therefore fd 
number 1048, which is fine as there's no select() on these fds);
- if for whatever reason innd wants to create a new channel, then it 
won't create it, refuse the connection, and log a warning ("SERVER file 
descriptor 1049 too high in CHANcreate (see rlimitnofile in inn.conf)"). 
  It won't become unresponsive, and the show goes on.

Let's just hope the news admin will one day catch these warnings.  But 
at least innd won't do weird things.



Thanks to your message, I note that the description of rlimitnofile does 
not mention overcachesize, and the description of overcachesize does not 
mention rlimitnofile.  As they are somehow linked, I'll add a sentence 
in both of them to mention the other one :)

   https://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html



> Either way, ovsqlite has been working really well for us so I see no
> need to switch back even if we could.

ovsqlite is indeed an efficient and reliable overview method.  Thanks 
again to Bo Lindbergh for having written it!



> Apologies for never getting around to reporting the issue ourselves.
No problem.
Thanks for mentioning it now, as it permits improving the wording of the 
rlimitnofile and overcachesize descriptions.

-- 
Julien ÉLIE

« O fortunatos nimium, sua si bona norint, agricolas. » (Virgile)
Technical Details
Message-ID: <unk3ro$2rodr$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-mail
References: <FAQ-faq-1703145662$7415@hope.eyrie.org> <umfnk3$21dfa$1@news.trigofacile.com> <umk94h$44l$4@nyheter.lysator.liu.se> <unf7ii$2nujj$3@news.trigofacile.com> <unjr4t$d5u$1@nyheter.lysator.liu.se> <unjrm6$d5u$2@nyheter.lysator.liu.se>

Show Full Headers
Complete Article Headers
Message-ID: <unk3ro$2rodr$1@news.trigofacile.com>
Subject: Re: INN 2.x FAQ
Date: Tue, 9 Jan 2024 19:38:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <FAQ-faq-1703145662$7415@hope.eyrie.org> <umfnk3$21dfa$1@news.trigofacile.com> <umk94h$44l$4@nyheter.lysator.liu.se> <unf7ii$2nujj$3@news.trigofacile.com> <unjr4t$d5u$1@nyheter.lysator.liu.se> <unjrm6$d5u$2@nyheter.lysator.liu.se>
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: Tue, 9 Jan 2024 18:38:48 -0000 (UTC)
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2n+9TFmVEEqy27RU+4HlufhqOjI= sha256:SU9+iK7EA6OlHFpqxBeOdqdmP53CnEImOsXXoLTvutk=
In-Reply-To: <unjrm6$d5u$2@nyheter.lysator.liu.se>