Article View: news.software.nntp
Article #82945Re: cnfsstat report error
From: John F. Morse
Date: Sun, 21 Mar 2010 22:49
Date: Sun, 21 Mar 2010 22:49
208 lines
8027 bytes
8027 bytes
Hi Julien,
>>> Strange, especially when cnfsstat uses grephistory and extracts the
>>> arrival time of an article.
>>
>> The only thought I had was possibly older articles were arriving
>> between the two cnfsstat checks.
>
> No: cnfsstat extracts the arrival time of the article. Not its
> posting time.
Well, then my theory is certainly blown out of the water. ;-)
> What is the "cnfsheadconf" result for the relevant classes?
Here is the cnfsstat output, followed by the cnfsheadconf output, for
both servers (optima2 is 2.4.5 and squeeze is 2.5.1):
news@optima2:~$ date && cnfsstat -a
Sun Mar 21 16:48:56 CDT 2010
...
Class fasttext for groups matching
"news.admin.net-abuse.email,news.admin.net-abuse.sightings,*.jobs*,perl.cpan.testers"
Buffer 003, size: 512 MBytes, position: 233 MBytes 26.46 cycles
Newest: 2010-03-21 16:45:09, 0 days, 0:03:51 ago
Oldest: 2010-03-16 23:30:10, 4 days, 17:18:50 ago
news@optima2:~$ cnfsheadconf -c 003
Buffer 003, len: 512.00 Mbytes, used: 232.73 Mbytes (45.5%) 26 cycles
Meta , order: 0, current: TRUE
Newest: 2010-03-21 16:30:08, 0 days, 0:13:53 ago
------------------------------------------------------------------------
news@squeeze:~$ date && cnfsstat -a
Sun Mar 21 16:42:14 CDT 2010
Class veryfast for groups matching
"control.cancel,*.test,news.lists.filters"
Buffer 001, size: 64.0 MBytes, position: 32.4 MBytes 6.51 cycles
Newest: 2010-03-21 16:41:15, 0 days, 0:00:59 ago
Oldest: 2010-03-19 4:48:07, 2 days, 11:54:07 ago
news@squeeze:~$ cnfsheadconf -c 001
Use of uninitialized value $line[3] in string ne at
/usr/lib/news/bin/cnfsheadconf line 132, <CONFFILE> line 38.
Use of uninitialized value $line[3] in string ne at
/usr/lib/news/bin/cnfsheadconf line 132, <CONFFILE> line 39.
Use of uninitialized value $line[3] in string ne at
/usr/lib/news/bin/cnfsheadconf line 132, <CONFFILE> line 40.
Use of uninitialized value $line[3] in string ne at
/usr/lib/news/bin/cnfsheadconf line 132, <CONFFILE> line 41.
Buffer 001, len: 64.00 Mbytes, used: 32.36 Mbytes (50.6%) 6 cycles
Meta , order: 0, current: TRUE, blocksize: 4096
Newest: 2010-03-21 16:38:41, 0 days, 0:02:46 ago
Hmmm. Seems there is a problem with this INN 2.5.1 (but even so, the INN
2.4.5 servers have the same cnfsstat -a age inconsistency).
Here's the uninitialized value error info (there was nothing logged to
errlog, news.err nor syslog though):
/usr/lib/news/bin/cnfsheadconf
124 if($_ =~ /^metacycbuff:/) {
125 @line = split(/:/, $_);
126 if($class{$line[1]}) {
127 print STDERR "Class $line[1] more than one time
in CycBuff Conffile $conffile ...\n";
128 return 0;
129 }
130
131 $class{$line[1]} = $line[2];
132 if ($line[3] ne "") {
133 $metamode{$line[1]} = $line[3];
134 } else {
135 $metamode{$line[1]} = "INTERLEAVE";
136 }
137 next;
138 }
/etc/news/cycbuff.conf
38 metacycbuff:veryfast:001
39 metacycbuff:fastbins:002
40 metacycbuff:fasttext:003
41 metacycbuff:slowbins:004
42 metacycbuff:slowtext:005,006,007,008:SEQUENTIAL
See any clue there?
> By the way, you could put these prints in cnfsstat:
>
> --- cnfsstat.in (révision 9029)
> +++ cnfsstat.in (copie de travail)
> @@ -473,7 +473,10 @@
> while ($buff =~ /^message-id:\s+(<.*?>)/mi) {
> $buff = $POSTMATCH;
> $oldart = &lookup_age ($1);
> + print "FOUND=$1\n";
> + print "BUFF=$buff\n";
> next unless $oldart;
> + print "FOLLOW $oldart $update\n";
>
> # Is the article newer than the last update?
> if ($oldart >= $update) {
> @@ -482,6 +485,7 @@
> goto done;
> }
> }
> + print "NEXT\n";
> # Just in case we chopped Message-ID in two, use the end
> # at the front in next iteration.
> $buff = substr ($buff, -$blksz);
>
>
>
> #./cnfsstat -a | grep FOUND
> FOUND=<4968eedc$0$4816$426a74cc@news.free.fr>
>
> gives you the found message-ID.
> You should have the same number of results with FOUND and FOLLOW.
> Is it the case?
I ran this twice:
news@squeeze:/usr/lib/news/bin$ ./cnfsstat -a | grep FOUND
FOUND=<a6b8fc2b6d1d11e4@nocem.news.httrack.net>
FOUND=<823d643ef4030cbe@nocem.news.httrack.net>
FOUND=<9ba304dcf43dbd3b@nocem.news.httrack.net>
FOUND=<newscache$bcknzk$cn5$1@newsfront4.netvisao.pt>
FOUND=<hnvh8p$85l$1@newshub.netvisao.pt>
FOUND=<1htm203884nz8$.1kanx170di8i6.dlg@40tude.net>
FOUND=<1268360528.6BFd70.50395@diafol-rhyddha64.bingosnet.co.uk>
FOUND=<op.uudf1kxqwqrt3j@acer250.gateway.2wire.net>
FOUND=<egxjj-14t-3@gated-at.bofh.it>
FOUND=<pan.2010.03.09.01.11.33.641000@mst.edu>
news@squeeze:/usr/lib/news/bin$ ./cnfsstat -a | grep FOLLOW
FOLLOW 1269209470 1269209380
FOLLOW 1269209501 1269209470
FOLLOW 1269209533 1269209501
FOLLOW 1269209533 1269209533
FOLLOW 1268992087 1269209533
FOLLOW 1266811039 1269207460
FOLLOW 1268361903 1269209714
FOLLOW 1266810496 1269205060
FOLLOW 1266810014 1268097102
FOLLOW 1268097102 1269209825
news@squeeze:/usr/lib/news/bin$ cnfsstat -a | grep FOUND
FOUND=<hnnqk0$rk1$1@newshub.netvisao.pt>
FOUND=<1htm203884nz8$.1kanx170di8i6.dlg@40tude.net>
FOUND=<1268360528.6BFd70.50395@diafol-rhyddha64.bingosnet.co.uk>
FOUND=<op.uudf1kxqwqrt3j@acer250.gateway.2wire.net>
FOUND=<egxjj-14t-3@gated-at.bofh.it>
FOUND=<pan.2010.03.09.01.11.33.641000@mst.edu>
news@squeeze:/usr/lib/news/bin$ cnfsstat -a | grep FOLLOW
FOLLOW 1268739517 1269209867
FOLLOW 1266811039 1269207460
FOLLOW 1268361903 1269209714
FOLLOW 1266810496 1269205060
FOLLOW 1266810014 1268097102
FOLLOW 1268097102 1269209825
Same number of results.
> If not, you should investigate the contents of BUFF.
> Do you happen to have a NEXT? It may be the problem.
>
What do you mean by "Do you happen to have a NEXT?"?
If in cnfsstat, yes. I added it as your +++cnfsstat.in (copie de
travail) patch shows:
488 print "NEXT\n";
I'm seeing the same older date problems in cnfsstat -a on all four
servers. That makes me believe it isn't a problem with one server, nor
INN 2.4.5 vs. 2.5.1.
That would indicate a problem in 2.4.5 (maybe earlier) and carried over
into 2.5.1. Or something inside a bad message (or messages), since it
happens frequently.
--
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:
<ho67p8$kao$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.dca.giganews.com!nntp.giganews.com!teal.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailReferences:
<ho5muh$fam$1@optima5.xanadu-bbs.net> <ho5sgu$ngc$1@news.trigofacile.com> <ho5v7g$hq7$1@optima5.xanadu-bbs.net> <ho629g$1u7$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <ho67p8$kao$1@optima5.xanadu-bbs.net> Subject: Re: cnfsstat report error Date: Sun, 21 Mar 2010 17:49:12 -0500 From: "John F. Morse" <john@example.invalid> References: <ho5muh$fam$1@optima5.xanadu-bbs.net> <ho5sgu$ngc$1@news.trigofacile.com> <ho5v7g$hq7$1@optima5.xanadu-bbs.net> <ho629g$1u7$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.dca.giganews.com!nntp.giganews.com!teal.octanews.net!news-out.octanews.net!indigo.octanews.net!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 208 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: optima5.xanadu-bbs.net 1269211752 20824 192.168.89.210 (21 Mar 2010 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Sun, 21 Mar 2010 22:49:12 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <ho629g$1u7$1@news.trigofacile.com> X-Enigmail-Version: 0.96.0