πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82907

Re: INN 2.5.1 Owner-Group different than 2.4.5

#82907
From: John F. Morse
Date: Wed, 10 Mar 2010 12:45
197 lines
9087 bytes
Hi Julien,

I still see a problem here and don't yet see a sufficient explanation.

One of us (or both of us) may be confused or simply overlooking something.

So let me try this again and see if it becomes a little more clear for you.

Please read all of this before attempting to respond, since most of the 
prologue material is not that important. You can save some time by not 
needing to respond to the same thing more than once.


Julien Γ‰LIE wrote:

>>>> I see an error in the 2.5.1 Daily Report for Incoming Feeds message
>>>
>>> How could you know that the error comes from INN 2.5.1 and not INN 
>>> 2.4.5?
>>
>> Because it shows up in the INN 2.5.1 Daily Report.
>>
>> The sending peer is INN 2.4.5, and the article totals are far less. 
>> This total also agrees with two other INN 2.4.5 servers that are 
>> streaming the same articles.
>
> As I told you, INN 2.5 "fixed" a long-standing issue in how totals
> are computed.  (They are still not exact, but better than before.)


Why are they not exact? Are bad numbers really worth anything? When bad 
numbers are combined what is always the result? ;-)

Someone working with dollars or francs/euros wouldn't last long if the 
bottom line didn't jive. ;-)

As for Usenet articles, one number in error makes the administrator 
wonder where the article went. Is it on the floor or stuck in a CAT5 
cable? ;-)


> Therefore, you cannot compare the results you see in INN 2.5.1 with
> all your other similar INN 2.4.5.


I realized after I sent the previous message that you may be trying to 
tell me that the previous releases of INN were "broken" in this 
summation problem.

I thought of it as comparing A to B and not knowing which is really 
broken, although I can see they disagree.

All along for the past six years with INN 2.4.x, I may have been 
believing wrong article tallies.

But there is more evidence, so please continue....


> See commit 7592 in 2006:
>
> Track statistics separately for every connection in innreport and only
> sum them together at the end of log processing.  This allows us to also
> track checkpoints and add checkpoint numbers to the totals at the end
> of log processing if no intervening close was seen.  Based on work by
> Jim Dutton and [me].
>
> +    # Record <server>:<channel> instead of just <server> as otherwise 
> we may
> +    # miss some persistent connection newsfeeds that in any given 
> innreport
> +    # reporting period may not record any connect entries.  We'll 
> accumulate
> +    # these into totals at the end of processing.
>
> It shows that the outgoing part (newsfeeds) may be wrong for persistent
> connections (like your "local" ones).
>
> +    # For checkpoints, store the current checkpoint numbers; if we 
> still have
> +    # checkpoint numbers left over at the end of the run, we'll add 
> them to
> +    # our totals.  On a closed, clear any checkpoint numbers and add 
> the close
> +    # numbers to the totals.  Basically, we want to ignore 
> checkpoints unless
> +    # we don't get a close before the end of the log.
>
> +    # Also, since the checkpoint counts include entries for all server
> +    # connections, check to see if any checkpoint server entries are 
> not also
> +    # in %innd_connect.  Add any missing servers (persistant servers 
> with no
> +    # connected log lines) to %innd_connect so that incoming totals 
> will be
> +    # properly computed.
>
> The same for the incoming part.


That is all fine, Julien, but it does not address the differences in the 
totals -- the numbers -- that I see. They should not be disagreeing, and 
it is not just between INN 2.4.x and 2.5.1, _but within 2.5.1 itself_.

I'm not looking at news.notice and checkpoints.

Please read on....


>> The handling of checkpoints is not my concern. How it is done isn't 
>> e-mailed to me every day, or posted to the Web server stats.
>
> It explains the difference between INN 2.4 and INN 2.5.


It doesn't explain the difference between INN 2.5.1's figures. Please 
read on....


>> The accurate counting of received articles is a concern, along with 
>> an accurate count of incoming and outgoing articles.
>
> Regarding that, I can tell you that innreport never gave you the accurate
> count.


That is a different issue, and it too needs to be addressed. What is the 
point of having a report that is invalid?


>> How can something be correct when it displays 60% more articles than 
>> it displays as received.
>
> You will see the 60% missing articles reported the following day(s)
> with INN 2.4.


No, the following days always have the same type of errors. Day after 
day. I've been monitoring it since February 14.

I don't know what you are using to tally "articles" as they arrive and 
are relayed, but here is what I see for yesterday's totals (servers are 
in the order that they stream the articles):

Server Log  Incoming  Incoming  Outgoing
       Inn     Inn    Articles  Innfeed

  1   32360   31167    29350     30471
  2   30563   30153    29348     29653
  3   30563   29405    29348     27766
  4   30559   49963    29343    no peer

Look at the irregularity in the Incoming INN column for server #4 
(2.5.1) compared to the others (2.4.5).

Three INN 2.4.5 servers handled around 30k articles.

Cleanfeed is involved in the first three servers, but the fourth only 
has the Cleanfeed provided in the generic Debian Squeeze INN 2.5.1-1 
download package. I assume it is filtering some articles -- if there is 
much filtering to do after they have traversed through three earlier 
servers -- and the small reduction of articles at each stage indicates 
some Cleanfeed action has transpired.

The other minor differences in the number of articles may be due to time 
of arrival, loading a new server using xrefslave, etc., and the action 
of NoCeM on existing articles. These differences are very minor.

But here we go....

Even if INN 2.4.5 is broken, and even if it displays similar article 
amounts at each peer, then why is there such a discrepancy between the 
number of articles for the INN 2.5.1 server's report of Incoming (INN) 
articles, and the INN 2.5.1 server's /var/log/news/news entry lines?

/var/log/news/news has 30559 lines

news@squeeze:~$ zcat /var/log/news/OLD/news.1.gz | wc -l
30559

One article -- one news log entry, eh? Don't they (or shouldn't they) 
always be equal? Doesn't <PATHLOG>/news record _every_ incoming article, 
whether accepted (+) or rejected (-), and the cancel (c) articles?

Disregarding any INN 2.4.3 errors or bugs -- in fact let's just drop the 
INN 2.4.3 comparison and focus on 2.5.1....

Why does INN 2.5.1's Daily Report show 49963 articles, which is way more 
than the 29343 hourly totals it shows?

Those, my friend, are two separate places in 2.5.1's tally that just 
don't agree. And without using a suspect INN 2.4.3 as a witness. ;-)


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <hn848n$536$1@optima5.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
References: <hl2qud$srr$2@optima5.xanadu-bbs.net> <87d40apbfq.fsf@windlord.stanford.edu> <hl480b$8q7$1@optima5.xanadu-bbs.net> <hl4gbh$ckg$1@news.trigofacile.com> <hl4nt6$d7d$1@optima5.xanadu-bbs.net> <hl4osg$km4$1@news.trigofacile.com> <hl4qt2$e1p$1@optima5.xanadu-bbs.net> <hl5o2r$icr$1@news.trigofacile.com> <hmjcao$b0a$1@optima5.xanadu-bbs.net> <hmjkfm$voo$1@news.trigofacile.com> <hmjlaf$do3$1@optima5.xanadu-bbs.net> <slrnhp4hi4.3ck.mnalis-news@eagle102.home.lan> <hmtmfr$6oo$1@optima5.xanadu-bbs.net> <hmtpfm$put$1@remote5bge0.ripco.com> <hmtqth$7vt$1@optima5.xanadu-bbs.net> <hn0q4c$en0$1@news.trigofacile.com> <hn1hib$9f2$1@optima5.xanadu-bbs.net> <hn3hsp$2cv$1@news.trigofacile.com> <hn5asl$c0h$1@optima5.xanadu-bbs.net> <hn64ua$h7l$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hn848n$536$1@optima5.xanadu-bbs.net>
Subject: Re: INN 2.5.1 Owner-Group different than 2.4.5
Date: Wed, 10 Mar 2010 06:45:11 -0600
From: "John F. Morse" <john@example.invalid>
References: <hl2qud$srr$2@optima5.xanadu-bbs.net> <87d40apbfq.fsf@windlord.stanford.edu> <hl480b$8q7$1@optima5.xanadu-bbs.net> <hl4gbh$ckg$1@news.trigofacile.com> <hl4nt6$d7d$1@optima5.xanadu-bbs.net> <hl4osg$km4$1@news.trigofacile.com> <hl4qt2$e1p$1@optima5.xanadu-bbs.net> <hl5o2r$icr$1@news.trigofacile.com> <hmjcao$b0a$1@optima5.xanadu-bbs.net> <hmjkfm$voo$1@news.trigofacile.com> <hmjlaf$do3$1@optima5.xanadu-bbs.net> <slrnhp4hi4.3ck.mnalis-news@eagle102.home.lan> <hmtmfr$6oo$1@optima5.xanadu-bbs.net> <hmtpfm$put$1@remote5bge0.ripco.com> <hmtqth$7vt$1@optima5.xanadu-bbs.net> <hn0q4c$en0$1@news.trigofacile.com> <hn1hib$9f2$1@optima5.xanadu-bbs.net> <hn3hsp$2cv$1@news.trigofacile.com> <hn5asl$c0h$1@optima5.xanadu-bbs.net> <hn64ua$h7l$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 197
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: optima5.xanadu-bbs.net 1268225112 5222 192.168.89.210 (10 Mar 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Wed, 10 Mar 2010 12:45:12 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <hn64ua$h7l$1@news.trigofacile.com>
X-Enigmail-Version: 0.96.0