🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92944

INN checkpoint accepted size incorrectly calculated on long-running connections

#92944
From: Jesse Rehmer
Date: Thu, 16 Jul 2026 16:34
50 lines
2755 bytes
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.

With incominglogfrequency set to 100,000, initially each checkpoint reports
accepted size around 220-280MB. Which, by my rough calculations, seems
correct. However, over time (8+ hours), I begin to see the accepted size fall
dramatically to around 80-110MB for the same amount of articles.

I understand there is going to be fluctuation in the amount of data received
per 100,000 articles, but if I stop the innxmit process and start it again,
immediately the checkpoints start reporting back in the original range. Then
after some time it begins to fall off.

I see this pattern repeat each time I stop/start innxmit (I have removed a lot
of output for brevity):

% grep checkpoint log/news.notice | awk '{ print $23 }'
254853120
244031488
240500736
222146560
245587968
221945856
107102208 <--- begins to fall off dramatically
113074176
113967104
98664448
99794944
94420992
89972736
128991232
111230976
80273408
276527360 <--- stopped/started innxmit
254255360
271361536
253618304
271003648
256765952

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. I do not personally know how to prove this out
further, so I'm throwing it out to the masses.
Technical Details
Message-ID: <113b162$drb$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

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: INN checkpoint accepted size incorrectly calculated on long-running connections
Date: Thu, 16 Jul 2026 16:34:10 -0000 (UTC)
Organization: BWH Usenet Archive
Message-ID: <113b162$drb$1@omnios-inn.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 16 Jul 2026 16:34:10 -0000 (UTC)
Injection-Info: omnios-inn.blueworldhosting.com; posting-host="192.168.1.112";
	logging-data="14187"; mail-complaints-to="usenet@omnios-inn.blueworldhosting.com"
User-Agent: Usenapp for MacOS
X-Usenapp: v1.28/d - Full License