🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92816

Re: inn scalability improvements

#92816
From: Kevin Bowling
Date: Fri, 22 May 2026 05:16
34 lines
2928 bytes
On 5/21/26 20:20, Jesse Rehmer wrote:
> On May 21, 2026 at 9:29:57 PM CDT, "Kevin Bowling" <kevin.bowling@kev009.com>
> wrote:
> 
>> ovsqlite should be in the next snapshop whenever that fires today/tomorrow.
> 
> Excellent!
> 
>>> I'm also not sure how my current options interact with the history file. I
>>> thought cancels were handled when the cancel is processed, and the overview
>>> removal happens immediately with ovsqlite? I could be completely wrong, this
>>> is an area I've not done much more than cursing makehistory requiring a
>>> gigantic amount of memory for it to generate an empty and appropriately sized
>>> dbz, otherwise it always pukes. For my spool I had to increase RAM to 64GB to
>>> generate a 400,000,000 dbz. Under normal operation, my server doesn't need
>>> more than 16GB of RAM.
>>
>> How big is your history dbz?  I suspect the answer to all this is what
>> Russ was hinting at, and maybe use sqlite for history so it can do in
>> place maintenance.
> 
> When you say how big is my history dbz, do you mean in file size?
> 
> $ ls -l history*
> -rw-r--r--  1 news  news  34350282002 May 21 22:17 history
> -rw-r--r--  1 news  news           52 May 21 22:16 history.dir
> -rw-r--r--  1 news  news   4500000000 May 21 22:16 history.hash

Effectively this hash amount (plus dynamic sizing) has to be in RAM with 
the current algorithm and data structure.  Does that sound about right, 
or do you know what the process was peaking at in terms of memory (RSS)?

> -rw-r--r--  1 news  news   6000000000 May 21 22:16 history.index
Technical Details
Message-ID: <10uoor9$21ps$1@csiph.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!csiph.com!.POSTED.172.83.103.228!not-for-mail
References: <10tofqn$edc$1@csiph.com> <10uod8q$1jhn$1@csiph.com> <10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com> <10uof36$1ljb$1@csiph.com> <10uoi1b$khf$1@nnrp.usenet.blueworldhosting.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!tncsrv06.tnetconsulting.net!csiph.com!.POSTED.172.83.103.228!not-for-mail
From: Kevin Bowling <kevin.bowling@kev009.com>
Newsgroups: news.software.nntp
Subject: Re: inn scalability improvements
Date: Thu, 21 May 2026 22:16:25 -0700
Organization: csiph.com Internet News Service
Message-ID: <10uoor9$21ps$1@csiph.com>
References: <10tofqn$edc$1@csiph.com> <10uod8q$1jhn$1@csiph.com>
 <10uoe80$n9p$1@nnrp.usenet.blueworldhosting.com> <10uof36$1ljb$1@csiph.com>
 <10uoi1b$khf$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 May 2026 05:16:25 -0000 (UTC)
Injection-Info: csiph.com; posting-host="172.83.103.228";
	logging-data="67388"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:F2Rw7b7TJIYJSHL1DtfTdO+np5w= sha256:J8Sn7EyBeZXmIaFEbQV9m7uLJiyW1a+XQqCi4YKC0Z0=
	sha1:Csq2zmCd/gq0NXL6mvsalns0ufE= sha256:XZZ8rCIwPu+IN9U/K7NwRVCXhb7j2UhVAFJDLqpejf8=
Content-Language: en-US
In-Reply-To: <10uoi1b$khf$1@nnrp.usenet.blueworldhosting.com>