Article View: news.software.nntp
Article #90661Re: INN 2.7.1 death spiral under high load?
From: Jesse Rehmer
Date: Mon, 31 Jul 2023 14:19
Date: Mon, 31 Jul 2023 14:19
55 lines
3061 bytes
3061 bytes
On Jul 29, 2023 at 7:11:02 AM CDT, "Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote: > 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? Tested and I didn't see the warnings at compile time, 'make tests' is good, and no more core dumping.
Technical Details
Message-ID:
<ua8fsv$1410$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-mailReferences:
<u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u90v8u$1090$1@nnrp.usenet.blueworldhosting.com> <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com> <ua2vkm$92mo$3@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <ua8fsv$1410$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN 2.7.1 death spiral under high load? Date: Mon, 31 Jul 2023 14:19:11 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <u90v8u$1090$1@nnrp.usenet.blueworldhosting.com> <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com> <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 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: Mon, 31 Jul 2023 14:19:11 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0"; logging-data="36896"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:RFtgROQ6fMEPztgR3NwF39rrP6A= sha256:Az0udIZmZ6USyrwpDPAuOAroYclpLGkmSr0O9JRQkD0= sha1:G9WUvCOx7kIzyszpys3Bj8H25u8= sha256:nhtkXfIq89j5cYgATFnJZQOAoJ09AmAbPZU1C6LZU/w= X-Usenapp: v1.27.1/d - Full License