Article View: news.software.nntp
Article #90446Re: INN 2.7.1 death spiral under high load?
From: Julien ÉLIE
Date: Fri, 30 Jun 2023 11:31
Date: Fri, 30 Jun 2023 11:31
35 lines
2663 bytes
2663 bytes
Hi Russ, >>> 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 > > 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. It seems like a channel can both be waiting to write and sleeping. SITEchanclose() sets them both. (It may not be the right thing as normally only one state should be given at a time as far as I understand how states are supposed to work.) But anyway, it does not explain why we end up with a channel of type CTfree considered to be sleeping (which is the condition causing the "free:-1 35 free but was in SMASK" error). As far as I see, the sleeping state is removed when a channel gets the CTfree type. ** Jesse, do you happen to have any "internal closing free channel" error in your logs? In this case, the sleeping state is not explicitly enforced. -- Julien ÉLIE « Whenever you set out to do something, something else must be done first. » (Murphy's Fourth Corollary)
Technical Details
Message-ID:
<u7mee7$2gqf2$2@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-mailReferences:
<u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <nsn.20230630081035.779@scatha.ancalagon.de> <87y1k1cw0o.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <u7mee7$2gqf2$2@news.trigofacile.com> Subject: Re: INN 2.7.1 death spiral under high load? Date: Fri, 30 Jun 2023 13:31:19 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com> <nsn.20230630081035.779@scatha.ancalagon.de> <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 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, 30 Jun 2023 11:31:19 -0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:Kp5enxIswSAoQTJoaBJrXEWBwDA= sha256:sbNZwuippzgro8t1aHKa8wkVwNGtg12Dcac8oZulS6o= In-Reply-To: <87y1k1cw0o.fsf@hope.eyrie.org>