Inconsistency in news.notice

Russ Allbery rra at
Sun Apr 29 18:28:40 UTC 2007

Julien ÉLIE <julien at> writes:

> With the CURRENT 2.5 version, I have a little problem
> with the daily Usenet report.

The way that logging works is that article counts are only logged when the
connection is closed, except that you should get checkpoints logged from
time to time in the interim.  The odd part about your situation is that
you're not seeing the checkpoints.

There were some patches to innreport committed to CURRENT to try to fix
this by taking the checkpoints into account, but they're wrong.  They'll
double-count articles when the connection close doesn't happen until the
next day, and I probably need to go back them all out again until we find
a real solution.  I'm not sure why you're not seeing those; maybe some
sort of unusual logging configuration?

The fundamental problem here is hard to fix.  I think it's going to take
some significant changes to how innd logs its article counts, such as
resetting the counters each time it logs a checkpoint rather than
accumulating the counters until connection close.  It used to be, before
innfeed when the logging was designed, that no one kept connections open
for long periods, but now almost everyone does and that means that one
sees very few articles for a long time and then a ton of articles all at
once in the statistics when the peer closes the connection for some

Russ Allbery (rra at             <>

More information about the inn-bugs mailing list