Article View: news.software.nntp
Article #90459Re: INN 2.7.1 death spiral under high load?
From: Jesse Rehmer
Date: Sat, 01 Jul 2023 07:47
Date: Sat, 01 Jul 2023 07:47
50 lines
3285 bytes
3285 bytes
On Jul 1, 2023 at 2:45:59 AM CDT, "Jesse Rehmer" <jesse.rehmer@blueworldhosting.com> wrote: > On Jul 1, 2023 at 1:26:53 AM CDT, "Julien ΓLIE" > <iulius@nom-de-mon-site.com.invalid> wrote: > >> Hi Jesse, >> >> The sleep set is just after the read set in memory, and I am under the >> impression that when FD_SET is used on a higher file descriptor than >> 1024 by select() to advertise that this file descriptor should be read, >> it just marks that number minus 1024 as sleeping in the sleep set. The >> length of the set is not large enough. >> >> You could either try to rebuild INN with 4096 set in FD_SETSIZE in your >> system headers /usr/include/sys/select.h (and then revert the change >> after the build, just to test) or try this one for innd/chan.c only: >> >> --- a/innd/chan.c >> +++ b/innd/chan.c >> @@ -17,6 +17,9 @@ >> >> /* Needed on AIX 4.1 to get fd_set and friends. */ >> #ifdef HAVE_SYS_SELECT_H >> +# ifndef FD_SETSIZE >> +# define FD_SETSIZE 4096 >> +# endif >> # include <sys/select.h> >> #endif >> >> >> Please tell if it happens to work better. > > Hi Julien, I spent today in the data center setting up a Dell R440 with a > couple PCI NVMe drives. This is a big upgrade from my source and destination > hardware (R710s on old SAS RAID5) and am in the process of migrating the VMs > to this new host. I will rebuild INN with the larger FD_SETSIZE and see what > happens. > > One thing of note, I have been doing various things over the last year that > involve shoving large amount of articles to INN as fast as I can, but it > wasn't until I messed with a separate destination machine that has SSD storage > and could write a ton faster that I ran into this, so I'm curious to see how > things go when both source and destination are on NVMe drives. > > Much appreciate everyone's eyes and suggestions. Will report back when I've > got the new environments running. Something I just noticed when looking at my Diablo feeder source code... some time ago one of the patches submitted increased FD_SETSIZE to 4096. Hmmm. :-)
Technical Details
Message-ID:
<u7ollu$1jmj$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> <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>Show Full Headers
Complete Article Headers
Message-ID: <u7ollu$1jmj$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN 2.7.1 death spiral under high load? Date: Sat, 01 Jul 2023 07:47:10 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> 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> 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: Sat, 1 Jul 2023 07:47:10 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; User-Agent: Usenapp for MacOS Cancel-Lock: sha1:/GpW1ydJV3pw4a4HXy8mnk9BHPg= sha256:kPg50u5x1M/vNy2hB5IP9EyvztE17MCiQ8+vRsOPxZs= X-Usenapp: v1.27.1/d - Full License