🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90474

Re: INN 2.7.1 death spiral under high load?

#90474
From: Julien ÉLIE
Date: Tue, 04 Jul 2023 10:17
41 lines
2884 bytes
Adding to my previous message:

>>> Isn't the hard limit 1024 (or more?) for Linux, and 256 for Solaris?
>>
>> 1024 is now the default for Linux, it looks like, and you can now change
>> it dynamically using the normal ulimit command (no need for messing 
>> around
>> in proc).  I have no idea what Solaris does these days.  I suspect I last
>> tested that part of INN against Solaris 7, which is a very long time ago.
> 
> Solaris 10 and 11 have in sys/select.h:
> 
> #ifndef FD_SETSIZE
> #ifdef _LP64
> #define FD_SETSIZE      65536
> #else
> #define FD_SETSIZE      1024
> #endif  /* _LP64 */

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.

-- 
Julien ÉLIE

« Traversez la rivière en foule, le crocodile ne vous mangera pas. »
   (proverbe malgache)
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <u80rje$2p8sd$1@news.trigofacile.com>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Tue, 4 Jul 2023 12:17:18 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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>
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, 4 Jul 2023 10:17:18 -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:XoFbGw5IDsdnmD0eF92jqTLjr+8= sha256:9uV8x8AeIxC5jdx+RtbKT0iKLBCfgal/4F30+UQZpWw=
In-Reply-To: <u7uu1r$2nolf$1@news.trigofacile.com>