πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92959

Re: INN checkpoint accepted size incorrectly calculated on long-running connections

#92959
From: Jesse Rehmer
Date: Fri, 17 Jul 2026 13:27
54 lines
3253 bytes
On Jul 17, 2026 at 2:32:21β€―AM CDT, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,
>> I'm observing what feels like a bug in the calculation of "accepted size" in
>> innd's checkpoint log lines with long-running connections. This may also be
>> happening with status log lines, but I haven't focused on those.
>> 
>> In the process of feeding >1 billion articles to a new server. Both servers
>> are running INN and I'm using innxmit on the source machine. After starting
>> innxmit, initially the calculation of the accepted size in the checkpoint log
>> lines seems correct, but over time it seems to miscalculate.
>> 
>> % grep checkpoint log/news.notice | awk '{ print $23 }'
>> 254853120
>> 244031488
>> 240500736
>> 222146560
>> 245587968
>> 221945856
>> 107102208 <--- begins to fall off dramatically> 113074176
>> 113967104
>> 98664448
>> 99794944
> [...]
>> Best I can tell through watching the CNFS buffer, filesystem, and network
>> metrics, I'm always receiving about the same rate/amount of data throughout
>> the connection lifetime.
> 
> After a quick glance at how innd computes the accepted size, I did not
> find anything suspicious :(
> 
> 
>> I do not personally know how to prove this out
>> further, so I'm throwing it out to the masses.
> 
> Could you please add the -v flag to innxmit?
> This way, it will write the accepted size of the articles it has sent,
> from its point of view.  It will be interesting to compare the values
> between innd on your new server and innxmit on your source server.
> 
> It writes something like that when you stop it:
> 
> Dec 13 07:50:34 news innxmit[4066916]: news.hazardzone.fr stats offered
> 57805 accepted 57668 refused 6 rejected 99 missing 0 accsize 383582687
> rejsize 1183910
> Dec 13 07:50:34 news innxmit[4066916]: news.hazardzone.fr times user
> 2.449 system 11.016 elapsed 32855.176

I've added the -v flag to my latest run of innxmit. I assume, I'll compare the
value from innxmit to innd's "closed" log line for that connection?

Trying to calculate all of the checkpoint lines from that connection seems
daunting. I suppose this may be a good use case for AI, though. :-)
Technical Details
Message-ID: <113dakm$e11$1@omnios-inn.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!.POSTED.192.168.1.112!not-for-mail
References: <113b162$drb$1@omnios-inn.blueworldhosting.com> <113clq5$glqu$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!.POSTED.192.168.1.112!not-for-mail
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
Newsgroups: news.software.nntp
Subject: Re: INN checkpoint accepted size incorrectly calculated on long-running connections
Date: Fri, 17 Jul 2026 13:27:50 -0000 (UTC)
Organization: BWH Usenet Archive
Message-ID: <113dakm$e11$1@omnios-inn.blueworldhosting.com>
References: <113b162$drb$1@omnios-inn.blueworldhosting.com> <113clq5$glqu$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Jul 2026 13:27:50 -0000 (UTC)
Injection-Info: omnios-inn.blueworldhosting.com; posting-host="192.168.1.112";
	logging-data="14369"; mail-complaints-to="usenet@omnios-inn.blueworldhosting.com"
User-Agent: Usenapp for MacOS
X-Usenapp: v1.28/d - Full License