Article View: news.software.nntp
Article #90475Re: INN 2.7.1 death spiral under high load?
From: Russ Allbery
Date: Tue, 04 Jul 2023 21:42
Date: Tue, 04 Jul 2023 21:42
36 lines
2952 bytes
2952 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> I've came accross this page:
> https://support.oracle.com/knowledge/Sun%20Microsystems/1005979_1.html
> saying that the default fd limit is 256 up to Solaris 11.4 SRU 26.
> There is a difference between the *stdio* and *select* interfaces, which
> certainly explains the point in the recommendation of 256 for rlimitnofile
> for Solaris.
> stdio handles up to 256 file descriptors up to Solaris 10, and 32-bit
> Solaris 11.3. For 64-bit Solaris 11.x, and 32-bit Solaris 11.4, stdio no
> longer has that limit.
> I then believe the recommandation for rlimitnofile should remain 256, and
> can be increased only for Solaris 11.4 or 64-bit Solaris 11.0-11.3.
> If of course I understand well what is said in the Oracle support page.
INN does some terrifying things to try to handle cases where file
descriptors higher than 256 are possible but it still wants to use stdio.
I'm not sure how well that stuff works in practice, but it's been there
for forever and I think it's still enabled. See lib/reservefd.c.
In theory, this is supposed to allow increasing the file descriptor limit
above 256 on platforms such as Solaris that have this stdio limitation,
and it did work at least at one time. Note that, critically, it only is
implemented for innd; all the other programs have to either not use stdio
or have to not open more than 256 file descriptors. I think that might
apply to everything?
--
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:
<87a5wbnyjj.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-mailReferences:
<u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7mpcq$16ug$1@nnrp.usenet.blueworldhosting.com> <u7mtup$2h67a$1@news.trigofacile.com> <u7ogvd$2ifbq$1@news.trigofacile.com> <u7oljn$1chb$1@nnrp.usenet.blueworldhosting.com> <u7ollu$1jmj$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <871qhrd13m.fsf@hope.eyrie.org> <u7u9tc$2ls19$1@news.trigofacile.com> <87fs65ouay.fsf@hope.eyrie.org> <u7uu1r$2nolf$1@news.trigofacile.com> <u80rje$2p8sd$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87a5wbnyjj.fsf@hope.eyrie.org> Subject: Re: INN 2.7.1 death spiral under high load? Date: Tue, 04 Jul 2023 14:42:56 -0700 From: Russ Allbery <eagle@eyrie.org> References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7mpcq$16ug$1@nnrp.usenet.blueworldhosting.com> <u7mtup$2h67a$1@news.trigofacile.com> <u7ogvd$2ifbq$1@news.trigofacile.com> <u7oljn$1chb$1@nnrp.usenet.blueworldhosting.com> <u7ollu$1jmj$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <871qhrd13m.fsf@hope.eyrie.org> <u7u9tc$2ls19$1@news.trigofacile.com> <87fs65ouay.fsf@hope.eyrie.org> <u7uu1r$2nolf$1@news.trigofacile.com> <u80rje$2p8sd$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 Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: hope.eyrie.org; logging-data="17362"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:jjauhQeulZAU1PorY6SrmHefOj8=