🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90441

Re: INN 2.7.1 death spiral under high load?

#90441
From: Russ Allbery
Date: Fri, 30 Jun 2023 06:19
29 lines
1989 bytes
Thomas Hochstein <thh@thh.name> writes:
> Jesse Rehmer schrieb:

>> Jun 29 19:13:43 gatekeeper innd[90655]: free:-1 35 free but was in SMASK
>> Jun 29 19:13:43 gatekeeper innd[90655]: free:-1 36 free but was in SMASK
>> Jun 29 19:13:43 gatekeeper innd[90655]: free:-1 39 free but was in SMASK
>> Jun 29 19:13:43 gatekeeper innd[90655]: SERVER cant select: Bad file descriptor

> Perhaps you're running into resource limits?

> | news@weidegrund /etc/news $ ulimit -a
> [...]
> | open files                      (-n) 1024
> [...]

I was wondering about that too, but the SMASK error is very specific to a
file descriptor being included in the select mask despite not
corresponding to an open channel.  That implies something has gone
seriously wrong with the file descriptor tracking.  innd then closes that
file descriptor, which I bet is what's causing the CNFS errors since I bet
it's closing the cycbuff file descriptor thinking it's a remote peer.

Why this is happening, I don't know.  The number of open connections
described is not large and is way, way lower than I have run servers with
in the past.  You can see that the file descriptor numbers (35, 36, 39)
are also quite low.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <87y1k1cw0o.fsf@hope.eyrie.org>
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>

Show Full Headers
Complete Article Headers
Message-ID: <87y1k1cw0o.fsf@hope.eyrie.org>
Subject: Re: INN 2.7.1 death spiral under high load?
Date: Thu, 29 Jun 2023 23:19:19 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <u7l7kl$1qqb$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: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:0Z5xbWydaX+cT7NoS22GrRat+aw=