🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90677

Re: INN 2.7.1 death spiral under high load?

#90677
From: Julien ÉLIE
Date: Fri, 04 Aug 2023 20:38
29 lines
2480 bytes
Hi Jesse,

>> When done, do you still see macro-redefinition warnings?  Does it work
>> better?  If that works, I'll see how to handle that gracefully.
> 
> Tested and I didn't see the warnings at compile time, 'make tests' is good,
> and no more core dumping.

Thanks for the confirmation!

I've found out a graceful way to enforce header inclusions in the right 
order, using our clang-format code reformatter to instruct it to begin 
with config.h, then portable/system.h and then all the other headers in 
alphabetical order.

The problem was portable/socket.h being otherwise included before 
portable/system.h (because of the alphabetical order).  This is now fixed!

 
https://github.com/InterNetNews/inn/commit/5f260cbb794c847c74739f0197344ef3f42a2367


I hope the -DLARGE_FD_SETSIZE build-time option now works fine, and you 
haven't noticed any problem since last week.

-- 
Julien ÉLIE

« Se taire, c'est pareil dans toutes les langues. » (Philippe Geluck)
Technical Details
Message-ID: <uajnk1$mnfs$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> <u90v8u$1090$1@nnrp.usenet.blueworldhosting.com> <u90vp6$23q0$1@nnrp.usenet.blueworldhosting.com> <ua2vkm$92mo$3@news.trigofacile.com> <ua8fsv$1410$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <uajnk1$mnfs$1@news.trigofacile.com>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Fri, 4 Aug 2023 22:38:25 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <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-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: Fri, 4 Aug 2023 20:38:25 -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="744956"; 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.14.0
Cancel-Lock: sha1:Ez/tSV6yglQYBm9DUF3tZNQJxMg= sha256:tu67mDSTaUEhkJc2LV54q9blAmSoVhgHVmPjLGIbbTg= sha1:NNAFX6232m/crpg9hjYD8GuGdLw= sha256:IEUVnTPUt+uRhnasoaMsW9Pek2h+o1y/6eeZSvLUXwc=
In-Reply-To: <ua8fsv$1410$1@nnrp.usenet.blueworldhosting.com>