πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92563

Re: innd SERVER cant malloc 18446744073699012160 bytes

#92563
From: Jesse Rehmer
Date: Tue, 18 Nov 2025 19:41
38 lines
3008 bytes
On Nov 18, 2025 at 8:44:13β€―AM CST, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,
> 
>> I have been working with Billy G., having him push articles from his pugleaf
>> instance to an INN instance running on an OmniOS VM. Tonight innd crashed with
>> the following:
>> 
>> Nov 16 22:33:33 omnios-inn innd: [ID 608925 news.crit] SERVER cant malloc
>> 18446744073699012160 bytes at interface.c line 622: Not enough space
> 
> Is the INN instance running in slave mode?
> Do you happen to have the culprit article which made INN crash?
> 
> If the INN instance is not running in slave mode, well, there's another
> issue to find...

It is not running in slave mode. Not sure if this would point to anything
meaningful, but these are two parameters that I've modified in inn.conf:

datamovethreshold:           1048576
icdsynccount:                300000

For reasons I haven't dug deeper on, INN is *painfully* slow to write to the
history file on ZFS filesystems (FreeBSD and illumos distros tested, have
briefly tested on Linux with XFS and it was much better).

Leaving icdsynccount at the default of 10 results in horrid throughput. No
matter the number of connections throughput doesn't go much above 1-3Mbps. I
played around *a lot* with various values and found the best throughput above
100000. At the current value, we get well over 100Mbps throughput. Obviously
this is 'risky' but in this use-case we're just playing around.

We've ran through a few cycles of Billy feeding over 1 billion articles to
this instance, and this was the first time it crashed. That said, this round I
had him add some additional newsgroups, so its possible there could be a very
strangely formatted article.
Technical Details
Message-ID: <10fii5j$1bf9$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
References: <10fenue$2qr8$1@nnrp.usenet.blueworldhosting.com> <10fi0nt$3uqp2$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
Newsgroups: news.software.nntp
Subject: Re: innd SERVER cant malloc 18446744073699012160 bytes
Date: Tue, 18 Nov 2025 19:41:39 -0000 (UTC)
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <10fii5j$1bf9$1@nnrp.usenet.blueworldhosting.com>
References: <10fenue$2qr8$1@nnrp.usenet.blueworldhosting.com> <10fi0nt$3uqp2$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 Nov 2025 19:41:39 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
	logging-data="44521"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:VJty6C9R2znGZG1GaTQoS4ndT8M= sha256:wl7T1xHUY4y6b4cJ3ETbln2yXA6tFpUk6Vs7piN9p7Y=
	sha1:9vaqpYsy2Ah6w2MvtSLuFVvn6ZY= sha256:IfDgI67p1oJMk1A+gim09+gC/n6BiNeGTpE5gbtOESk=
X-Usenapp: v1.28/d - Full License