🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90437

INN 2.7.1 death spiral under high load?

#90437
From: Jesse Rehmer
Date: Fri, 30 Jun 2023 00:29
31 lines
2640 bytes
I've been working on transitioning my tradspool setup to a new server with
CNFS buffers. Some of my previous threads I asked about ways the increase
concurrency to respool all the articles from server to server. 

When I used innfeed no matter the connection count or dynamic-method chosen,
it takes 35 days to transmit 256 million articles to the new server. I decided
to start experimenting with multiple innxmit processes instead. When I split
my batch file into 20 parts and start the innxmit processes, somewhere between
10-15 innxmit processes (so the same number of connection to the remote
server) the remote server starts using 100% CPU but stops accepting articles
and prints the following in the logs:

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 have to forcefully kill innd, it will not respond to any commands, etc. I'm
wondering exactly what these errors mean. This server is running FreeBSD 13.2,
has 32GB of physical memory, 64GB of swap (not using any) and INN is the only
thing running.

With 10 innxmit processes on the remote server running I'm pushing ~18Mbps of
traffic and according the stats am accepting ~400,000 articles per 10 minutes,
but I have quite a bit of spare CPU and I/O cycles on both ends and would like
to go faster, if I can.

Regards,

Jesse
Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <u7l7kl$1qqb$1@nnrp.usenet.blueworldhosting.com>
Subject: INN 2.7.1 death spiral under high load?
Date: Fri, 30 Jun 2023 00:29:09 +0000
From: Jesse Rehmer <jesse.rehmer@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: Fri, 30 Jun 2023 00:29:09 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="60235"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:Vu3xVl9IPz5iKxcEE6Aq9KGLUj8= sha256:obTxkksFkD6ENJce2NW8+17uV7dVyCyLXzcFbzsfW1E= sha1:fHozqwy5rI/Ts2fO9ebq6MCUsdM= sha256:/mLmw22OOw/q8qe03HfqnxBhUhcsQkD28u91gRpIdZs=
X-Usenapp: v1.27.1/d - Full License