🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90637

Re: INN 2.7.1 death spiral under high load?

#90637
From: Julien ÉLIE
Date: Sat, 29 Jul 2023 12:11
54 lines
3044 bytes
Hi Jesse,

> 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.
> 
> When I take the "-DLARGE_FD_SETSIZE=4096" option out of Makefile.global
> everything builds/tests/runs okay.

Oh, that's bad.  It seems that the large FD_SETSIZE patch does not work 
as it should on your installation.
I do not see these problems with Debian, and I have also run "make 
tests" with success on an OpenBSD system.  No stalling nor core dump 
seen.  No macro-redefinition warning, and indeed that's a problem as the 
whole point of the patch is to define FD_SETSIZE before 
/usr/include/sys/select.h does it.


I consider that subject still open and not fixed then.


I unfortunately do not have access to a working FreeBSD system right now 
to test.  These servers are down on the Compile Farm 
(https://cfarm.tetaneutral.net/machines/list/).


Yes, adding -DLARGE_FD_SETSIZE=4096 to COPT in Makefile.global is the 
expected thing to do.




Could you please try to add in include/portable/socket.h the following 
lines?

  #include "config.h"
  #include "portable/macros.h"

+#if LARGE_FD_SETSIZE > 1024
+#    define FD_SETSIZE LARGE_FD_SETSIZE
+#endif
+
  #include <errno.h>
  #include <sys/types.h>



When done, do you still see macro-redefinition warnings?  Does it work 
better?

-- 
Julien ÉLIE

« Moi, je n'ai pas goûté le sel de cette plaisanterie. » (Astérix)
Technical Details
Message-ID: <ua2vkm$92mo$3@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> <u7phln$2is6p$1@news.trigofacile.com> <871qhrd13m.fsf@hope.eyrie.org> <u7u9tc$2ls19$1@news.trigofacile.com> <u90v8u$1090$1@nnrp.usenet.blueworldhosting.com> <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <ua2vkm$92mo$3@news.trigofacile.com>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Sat, 29 Jul 2023 14:11:02 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <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
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: Sat, 29 Jul 2023 12:11:02 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="297688"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
Cancel-Lock: sha1:YjZGIPrT1qrvp2A63dTwDgNZqWg= sha256:SvvSvNXOYq2H8SUkFv+p9RCQv1h14S5FWOoR0p5rW9I= sha1:ILXK85rhSuKsKO2nLfzhVGNIp+8= sha256:RtmP1R7YSTn8F+yMKxh1cXp6ROhCLrLes9S/7hQjQZM=
In-Reply-To: <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com>