πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90535

Re: INN 2.7.1 death spiral under high load?

#90535
From: Jesse Rehmer
Date: Sun, 16 Jul 2023 14:44
43 lines
2993 bytes
On Jul 16, 2023 at 9:36:14 AM CDT, "Jesse Rehmer"
<jesse.rehmer@blueworldhosting.com> wrote:

> On Jul 3, 2023 at 6:03:08 AM CDT, "Julien Γ‰LIE"
> <iulius@nom-de-mon-site.com.invalid> wrote:
> 
>> I hope all of these changes will be useful, and you're happy with your
>> new hardware setup Jesse!
> 
> Circling back to this after having spent time migrating to my shiny new
> hardware (amazing how much faster things go when you jump 10 generations of
> hardware!). I am building INN adding "-DLARGE_FD_SETSIZE=4096" to COPT in
> Makefile.global (is that the correct way?).
> 
> I see a number of these warnings, but I'm unsure which value is actually being
> used?
> 
> libtool: compile: cc -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong
> -DLARGE_FD_SETSIZE=4096 -I../include -c network.c -fPIC -DPIC -o
> .libs/network.o
> In file included from network.c:49:
> ../include/portable/system.h:78:17: warning: 'FD_SETSIZE' macro redefined
> [-Wmacro-redefined]
> #        define FD_SETSIZE LARGE_FD_SETSIZE
>                 ^
> /usr/include/sys/select.h:61:9: note: previous definition is here
> #define FD_SETSIZE      1024
>         ^
> 
> As a side - I appreciate the discussion and clarification on some of the
> tuning bits discussed. Hopefully someone else will find it useful as well.

Hmm I'm seeing other strange behavior like "make tests" seems to stall out and
do nothing after getting to authprogs/ident. INN does start, but even actsync
is core dumping.

I see the following in kernel logs:

pid 32149 (actsync), jid 0, uid 8: exited on signal 6 (core dumped)
pid 37633 (ident.t), jid 0, uid 8: exited on signal 6 (core dumped)

When I take the "-DLARGE_FD_SETSIZE=4096" option out of Makefile.global
everything builds/tests/runs okay.
Technical Details
Message-ID: <u90vp6$23q0$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
References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <871qhrd13m.fsf@hope.eyrie.org> <u7u9tc$2ls19$1@news.trigofacile.com> <u90v8u$1090$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Sun, 16 Jul 2023 14:44:54 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u7phln$2is6p$1@news.trigofacile.com> <871qhrd13m.fsf@hope.eyrie.org> <u7u9tc$2ls19$1@news.trigofacile.com> <u90v8u$1090$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: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 14:44:54 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0";
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:vdKrjzLuiEW4w+Z/nthOLhLTqAA= sha256:aPomVyaLYxuZvZb+bnZ3UOyaCiPvELJsiomFK2t9gJ0=
X-Usenapp: v1.27.1/d - Full License