🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by John F. Morse Sun, 31 Oct 2010 18:33
Watermarks upside down
#83597
Author: John F. Morse
Date: Sun, 31 Oct 2010 18:33
16 lines
1792 bytes
Is there an easy fix for the following type of errors:

news@optima11:/etc/news$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:1179: `0000000000' <  '0000000006'.
/var/lib/news/active:1198: `0000000002' <  '0000000010'.
/var/lib/news/active:2563: `0000000000' <  '0000000002'.
/var/lib/news/active:6032: `0000000000' <  '0000000002'.
/var/lib/news/active:6045: `0000000000' <  '0000000002'.

This is an old INN 2.4.5 test server on Lenny.

-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83598
Author: Julien ÉLIE
Date: Sun, 31 Oct 2010 19:52
41 lines
2862 bytes
Hi John,

> Is there an easy fix for the following type of errors:
>
> news@optima11:/etc/news$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
>
> This is an old INN 2.4.5 test server on Lenny.

Isn't news.daily taking care of that?
Did it run last night?

Is "tdx-util -A" complaining?  (if using tradindexed overview)


I see in your crontab from one of your previous articles
that you are using "news.daily lowark" so it should normally
work.

Otherwise, mind the bug in INN 2.4.5 if you use "ctlinnd renumber":

  INN 2.5.0:

    Fixed a bug in ctlinnd renumber which was resetting the low
    and high water marks of empty newsgroups in the active file.
    This command now makes the low water mark one more than the real
    high water mark.  The answers to LIST ACTIVE, GROUP and LISTGROUP
    have also been fixed to do that.

-- 
Julien ÉLIE

« Pour une personne optimiste, le verre est à moitié plein.
  Pour une personne pessimiste, il est à moitié vide.
  Pour l'informaticien, il est deux fois plus grand que nécessaire. » 
Re: Watermarks upside down
#83599
Author: John F. Morse
Date: Sun, 31 Oct 2010 22:05
124 lines
5798 bytes
Hi Julien,

>> Is there an easy fix for the following type of errors:
>>
>> news@optima11:/etc/news$ inncheck -v
>> Looking at /var/lib/news/active...
>> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
>> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
>> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
>> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
>> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
>>
>> This is an old INN 2.4.5 test server on Lenny.
>
> Isn't news.daily taking care of that?


Don't know if it is new trouble since midnight, or carried over from 
past days. I will find out after midnight tonight.

The transit server (INN 2.4.5 on Lenny) also has one of these errors:

news@optima2:~$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:5117: `0000000004' <  '0000000006'.


> Did it run last night?


Yes.

Expire messages:
expireover start Sun Oct 31 00:00:59 CDT 2010: ( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
    Article lines processed    45842
    Articles dropped               0
    Overview index dropped         0
expireover end Sun Oct 31 00:07:49 CDT 2010
lowmarkrenumber begin Sun Oct 31 00:07:49 CDT 2010: (/var/log/news/expire.lowmark)
lowmarkrenumber end Sun Oct 31 00:07:50 CDT 2010
expire begin Sun Oct 31 00:08:20 CDT 2010: (-v1)
    Article lines processed   303382
    Articles retained         278165
    Entries expired            25217
expire end Sun Oct 31 00:09:21 CDT 2010
	all done Sun Oct 31 00:09:21 CDT 2010



> Is "tdx-util -A" complaining?  (if using tradindexed overview)


It did show hundreds of errors. I then ran it with -F and it fixed all 
of those errors, but not the errors found with inncheck -v.

news@optima11:~$ tdx-util -A
news@optima11:~$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:1179: `0000000000' <  '0000000006'.
/var/lib/news/active:1198: `0000000002' <  '0000000010'.
/var/lib/news/active:2563: `0000000000' <  '0000000002'.
/var/lib/news/active:6032: `0000000000' <  '0000000002'.
/var/lib/news/active:6045: `0000000000' <  '0000000002'.
Looking at /etc/news/control.ctl...
Looking at /etc/news/expire.ctl...
Looking at /etc/news/incoming.conf...
Looking at /etc/news/inn.conf...
Looking at /etc/news/moderators...
Looking at /etc/news/newsfeeds...
ME, controlchan!, nocem!, innfeed!, optima5, inpaths!, done.
Looking at /etc/news/nntpsend.ctl...
Looking at /etc/news/overview.fmt...
Looking at /etc/news/passwd.nntp...
Looking at /etc/news/readers.conf...

Examining the active file, I see the watermarks are not changed.

These groups are all in cnfs:

   1179 at.anzeigen.wohnen 0000000000 0000000006 y
   1198 at.internet.provider 0000000002 0000000010 y
   2563 de.comp.text.dtp 0000000000 0000000002 y
   6032 za.net.misc 0000000000 0000000002 y
   6045 za.unix.misc 0000000000 0000000002 y

Optima11 is a very stable server, but has only a 4.3 GB hard drive. So I 
use it for testing only. It's at the tail end of the chain of servers, 
and fed by the old reader server, Optima5 (INN 2.4.5 on Lenny), which 
may have a bad hard drive. I replaced Optima5 with n102 (INN 2.5.2 on 
Squeeze), which works great, and feeds Optima5.

The transit server, Optima2 mentioned above, feeds Optima5. It too is in 
the process of being replaced by v102, another new INN 2.5.2 also on 
Squeeze. It's peering with Optima5 right now as I configure the servers.

None of my work would have created the problems. All I'm doing today is 
editing the incoming.conf, innfeed.conf and newsfeeds files, to add v102 
into the peering, then commenting out the information.


> I see in your crontab from one of your previous articles
> that you are using "news.daily lowark" so it should normally
> work.
>
> Otherwise, mind the bug in INN 2.4.5 if you use "ctlinnd renumber":
>
>  INN 2.5.0:
>
>    Fixed a bug in ctlinnd renumber which was resetting the low
>    and high water marks of empty newsgroups in the active file.
>    This command now makes the low water mark one more than the real
>    high water mark.  The answers to LIST ACTIVE, GROUP and LISTGROUP
>    have also been fixed to do that.


I'll let midnight have a chance with it. After all, it is Halloween! ;-)

Booooo! =-O


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83604
Author: John F. Morse
Date: Tue, 02 Nov 2010 19:36
162 lines
7593 bytes
Hi Julien,

John F. Morse wrote:

> Hi Julien,
>
>>> Is there an easy fix for the following type of errors:
>>>
>>> news@optima11:/etc/news$ inncheck -v
>>> Looking at /var/lib/news/active...
>>> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
>>> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
>>> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
>>> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
>>> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
>>>
>>> This is an old INN 2.4.5 test server on Lenny.
>>
>> Isn't news.daily taking care of that?
>
>
> Don't know if it is new trouble since midnight, or carried over from 
> past days. I will find out after midnight tonight.
>
> The transit server (INN 2.4.5 on Lenny) also has one of these errors:
>
> news@optima2:~$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:5117: `0000000004' <  '0000000006'.
>
>
>> Did it run last night?
>
>
> Yes.
>
> Expire messages:
> expireover start Sun Oct 31 00:00:59 CDT 2010: ( 
> -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
>    Article lines processed    45842
>    Articles dropped               0
>    Overview index dropped         0
> expireover end Sun Oct 31 00:07:49 CDT 2010
> lowmarkrenumber begin Sun Oct 31 00:07:49 CDT 2010: 
> (/var/log/news/expire.lowmark)
> lowmarkrenumber end Sun Oct 31 00:07:50 CDT 2010
> expire begin Sun Oct 31 00:08:20 CDT 2010: (-v1)
>    Article lines processed   303382
>    Articles retained         278165
>    Entries expired            25217
> expire end Sun Oct 31 00:09:21 CDT 2010
>     all done Sun Oct 31 00:09:21 CDT 2010
>
>
>> Is "tdx-util -A" complaining?  (if using tradindexed overview)
>
>
> It did show hundreds of errors. I then ran it with -F and it fixed all 
> of those errors, but not the errors found with inncheck -v.
>
> news@optima11:~$ tdx-util -A
> news@optima11:~$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
> Looking at /etc/news/control.ctl...
> Looking at /etc/news/expire.ctl...
> Looking at /etc/news/incoming.conf...
> Looking at /etc/news/inn.conf...
> Looking at /etc/news/moderators...
> Looking at /etc/news/newsfeeds...
> ME, controlchan!, nocem!, innfeed!, optima5, inpaths!, done.
> Looking at /etc/news/nntpsend.ctl...
> Looking at /etc/news/overview.fmt...
> Looking at /etc/news/passwd.nntp...
> Looking at /etc/news/readers.conf...
>
> Examining the active file, I see the watermarks are not changed.
>
> These groups are all in cnfs:
>
>   1179 at.anzeigen.wohnen 0000000000 0000000006 y
>   1198 at.internet.provider 0000000002 0000000010 y
>   2563 de.comp.text.dtp 0000000000 0000000002 y
>   6032 za.net.misc 0000000000 0000000002 y
>   6045 za.unix.misc 0000000000 0000000002 y
>
> Optima11 is a very stable server, but has only a 4.3 GB hard drive. So 
> I use it for testing only. It's at the tail end of the chain of 
> servers, and fed by the old reader server, Optima5 (INN 2.4.5 on 
> Lenny), which may have a bad hard drive. I replaced Optima5 with n102 
> (INN 2.5.2 on Squeeze), which works great, and feeds Optima5.
>
> The transit server, Optima2 mentioned above, feeds Optima5. It too is 
> in the process of being replaced by v102, another new INN 2.5.2 also 
> on Squeeze. It's peering with Optima5 right now as I configure the 
> servers.
>
> None of my work would have created the problems. All I'm doing today 
> is editing the incoming.conf, innfeed.conf and newsfeeds files, to add 
> v102 into the peering, then commenting out the information.
>
>
>> I see in your crontab from one of your previous articles
>> that you are using "news.daily lowark" so it should normally
>> work.
>>
>> Otherwise, mind the bug in INN 2.4.5 if you use "ctlinnd renumber":
>>
>>  INN 2.5.0:
>>
>>    Fixed a bug in ctlinnd renumber which was resetting the low
>>    and high water marks of empty newsgroups in the active file.
>>    This command now makes the low water mark one more than the real
>>    high water mark.  The answers to LIST ACTIVE, GROUP and LISTGROUP
>>    have also been fixed to do that.
>
>
> I'll let midnight have a chance with it. After all, it is Halloween! ;-)
>
> Booooo! =-O


There must be spooks in my servers. ;-)

I let it run two midnight expiry sessions. Neither one was fixed by 
expire.lowmark (if it is supposed to do this).

Since these are not tradspool, I cannot simply look at the corresponding 
article number file name in a group directory.

They are hidden away in CNFS buffers, and I know of no way to determine 
if the articles exist or not. The handy grephistory and sm utilities 
won't work since I don't have the M-ID nor the token.

Attempting to read the groups with a newsreader shows no messages (empty 
groups) due to the watermarks being out of whack.

Further attempts to use a newsreader -- after editing its newsrc file to 
be able to access these articles -- would also likely fail since the 
server's watermarks are upside down.

Do you know of any method to access these articles by article number so 
I could see what is actually in the CNFS cycbuffs?

What are the consequences of using "ctlinnd renumber" on 2.4.5 if these 
groups are not empty? Did the bug reset the watermarks to 0000000000 
0000000000 instead of 0000000000 0000000001?

I guess I could edit the active file to set those groups to 0000000000 
0000000001 and lose those few articles. They may have already expired. 
Those groups are not of interest to me or my users, and the articles are 
likely long ago propagated to peers.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83605
Author: Julien ÉLIE
Date: Tue, 02 Nov 2010 21:11
43 lines
2959 bytes
Hi John,

>> These groups are all in cnfs:
>>
>>   1179 at.anzeigen.wohnen 0000000000 0000000006 y
>>   1198 at.internet.provider 0000000002 0000000010 y
>>   2563 de.comp.text.dtp 0000000000 0000000002 y
>>   6032 za.net.misc 0000000000 0000000002 y
>>   6045 za.unix.misc 0000000000 0000000002 y
>
> Do you know of any method to access these articles by article number so I could 
> see what is actually in the CNFS cycbuffs?

I just bet they are empty newsgroups.
I am afraid I do not know such a method.
A CNFS token contains the offset of the article in the buffer, not its
article number.



> What are the consequences of using "ctlinnd renumber" on 2.4.5 if these groups are 
> not empty? Did the bug reset the watermarks to 0000000000 0000000000 instead of 
> 0000000000 0000000001?

I do not remember.  You can try on one group.
(I believe "0 0" will not happen, though.)
Note that it does not matter much between "0 6" and "0 1".  Both are
empty groups.



> I guess I could edit the active file to set those groups to 0000000000
> 0000000001 and lose those few articles. They may have already expired.

Be careful if you do that.  INN must NOT be running...
I would tend to leave the active file as it is right now.  No harm done.

-- 
Julien ÉLIE

« Je ne cherche pas à connaître les réponses, je cherche à comprendre
  les questions. » 
Re: Watermarks upside down
#83606
Author: John F. Morse
Date: Tue, 02 Nov 2010 22:40
95 lines
4902 bytes
Hi Julien,

> I just bet they are empty newsgroups.
> I am afraid I do not know such a method.
> A CNFS token contains the offset of the article in the buffer, not its
> article number.
>
>> What are the consequences of using "ctlinnd renumber" on 2.4.5 if 
>> these groups are not empty? Did the bug reset the watermarks to 
>> 0000000000 0000000000 instead of 0000000000 0000000001?
>
> I do not remember.  You can try on one group.
> (I believe "0 0" will not happen, though.)
> Note that it does not matter much between "0 6" and "0 1".  Both are
> empty groups.


I ran ctlinnd renumber {newsgroup} on one group, and the results were 
positive, so I did the remainder.

Well, it looks good. Here's what I had, and what I achieved:

news@optima11:/etc/news$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:1179: `0000000000' <  '0000000006'.
/var/lib/news/active:1198: `0000000002' <  '0000000010'.
/var/lib/news/active:2563: `0000000000' <  '0000000002'.
/var/lib/news/active:6032: `0000000000' <  '0000000002'.
/var/lib/news/active:6045: `0000000000' <  '0000000002'.

  1179 at.anzeigen.wohnen 0000000000 0000000006 y
  1198 at.internet.provider 0000000002 0000000010 y
  2563 de.comp.text.dtp 0000000000 0000000002 y
  6032 za.net.misc 0000000000 0000000002 y
  6045 za.unix.misc 0000000000 0000000002 y

news@optima11:/var/lib/news$ cat -n active | grep 1179
  1179    at.anzeigen.wohnen 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 1198
  1198    at.internet.provider 0000000009 0000000003 y
news@optima11:/var/lib/news$ cat -n active | grep 2563
  2563    de.comp.text.dtp 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 6032
  6032    za.net.misc 0000000000 0000000001 y
news@optima11:/var/lib/news$ cat -n active | grep 6045
  6045    za.unix.misc 0000000000 0000000001 y


Notice that at.internet.provider "appears" to have six articles.

Using Pan, I only find article #5 though, which was posted today:

Date:                       Tue, 2 Nov 2010 15:45:29 +0100
Message-ID:                 <20101102154529.083f443e@news.pinguin.uni.cc>
Xref:                       optima11.xanadu-bbs.net at.internet.provider:5

Then another came in:

Date:                       Tue, 02 Nov 2010 23:07:30 +0100
Message-ID:                 <8jbgcuFjmcU1@mid.individual.net>
Xref:                       optima11.xanadu-bbs.net at.internet.provider:10

It was correctly assigned message number 10.

news@optima11:/var/lib/news$ cat -n active | grep 1198
  1198    at.internet.provider 0000000010 0000000003 y

This looks good.

I ran "ctlinnd renumber sci.engr.coastal" on the one group on the 
transit server, and the results were positive there as well.

news@optima2:~$ inncheck -v
Looking at /var/lib/news/active...
/var/lib/news/active:5117: `0000000004' <  '0000000006'.

  5117 sci.engr.coastal 0000000004 0000000006 y

ctlinnd renumber sci.engr.coastal

news@optima2:/var/lib/news$ cat -n active | grep 5117
  5117    sci.engr.coastal 0000000004 0000000005 y

That newsgroup is actually empty, and as far as I can tell by looking at 
n102, which has article retention back to when I first added the group, 
it has never received any articles. Well ... I guess nocem could have 
removed some spam. ;-)

Thanks for the help, Julien.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83613
Author: John F. Morse
Date: Wed, 03 Nov 2010 17:54
113 lines
5610 bytes
Hi Julien,

> I ran ctlinnd renumber {newsgroup} on one group, and the results were 
> positive, so I did the remainder.
>
> Well, it looks good. Here's what I had, and what I achieved:
>
> news@optima11:/etc/news$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:1179: `0000000000' <  '0000000006'.
> /var/lib/news/active:1198: `0000000002' <  '0000000010'.
> /var/lib/news/active:2563: `0000000000' <  '0000000002'.
> /var/lib/news/active:6032: `0000000000' <  '0000000002'.
> /var/lib/news/active:6045: `0000000000' <  '0000000002'.
>
>  1179 at.anzeigen.wohnen 0000000000 0000000006 y
>  1198 at.internet.provider 0000000002 0000000010 y
>  2563 de.comp.text.dtp 0000000000 0000000002 y
>  6032 za.net.misc 0000000000 0000000002 y
>  6045 za.unix.misc 0000000000 0000000002 y
>
> news@optima11:/var/lib/news$ cat -n active | grep 1179
>  1179    at.anzeigen.wohnen 0000000000 0000000001 y
> news@optima11:/var/lib/news$ cat -n active | grep 1198
>  1198    at.internet.provider 0000000009 0000000003 y
> news@optima11:/var/lib/news$ cat -n active | grep 2563
>  2563    de.comp.text.dtp 0000000000 0000000001 y
> news@optima11:/var/lib/news$ cat -n active | grep 6032
>  6032    za.net.misc 0000000000 0000000001 y
> news@optima11:/var/lib/news$ cat -n active | grep 6045
>  6045    za.unix.misc 0000000000 0000000001 y
>
>
> Notice that at.internet.provider "appears" to have six articles.
>
> Using Pan, I only find article #5 though, which was posted today:
>
> Date:                       Tue, 2 Nov 2010 15:45:29 +0100
> Message-ID:                 <20101102154529.083f443e@news.pinguin.uni.cc>
> Xref:                       optima11.xanadu-bbs.net 
> at.internet.provider:5
>
> Then another came in:
>
> Date:                       Tue, 02 Nov 2010 23:07:30 +0100
> Message-ID:                 <8jbgcuFjmcU1@mid.individual.net>
> Xref:                       optima11.xanadu-bbs.net 
> at.internet.provider:10
>
> It was correctly assigned message number 10.
>
> news@optima11:/var/lib/news$ cat -n active | grep 1198
>  1198    at.internet.provider 0000000010 0000000003 y
>
> This looks good.
>
> I ran "ctlinnd renumber sci.engr.coastal" on the one group on the 
> transit server, and the results were positive there as well.
>
> news@optima2:~$ inncheck -v
> Looking at /var/lib/news/active...
> /var/lib/news/active:5117: `0000000004' <  '0000000006'.
>
>  5117 sci.engr.coastal 0000000004 0000000006 y
>
> ctlinnd renumber sci.engr.coastal
>
> news@optima2:/var/lib/news$ cat -n active | grep 5117
>  5117    sci.engr.coastal 0000000004 0000000005 y
>
> That newsgroup is actually empty, and as far as I can tell by looking 
> at n102, which has article retention back to when I first added the 
> group, it has never received any articles. Well ... I guess nocem 
> could have removed some spam. ;-)
>
> Thanks for the help, Julien.


I told you there were Halloween spooks involved:

news@optima11:/var/lib/news$ date ; inncheck -v
Wed Nov  3 12:13:49 CDT 2010
Looking at /var/lib/news/active...
/var/lib/news/active:1179: `0000000000' <  '0000000006'.
/var/lib/news/active:2563: `0000000000' <  '0000000002'.
/var/lib/news/active:6032: `0000000000' <  '0000000002'.
/var/lib/news/active:6045: `0000000000' <  '0000000002'.

Same with the transit server:

news@optima2:/var/lib/news$ date ; inncheck -v
Wed Nov  3 12:46:04 CDT 2010
Looking at /var/lib/news/active...
/var/lib/news/active:5117: `0000000004' <  '0000000006'.

news@optima2:/var/lib/news$ cat -n /var/lib/news/active | grep 5117
  5117    sci.engr.coastal 0000000004 0000000006 y

Now I wonder what could be rejuvenating* *the incorrect low-watermark? 
Perhaps there is still an old article with that article number? If so, 
why isn't the high-watermark larger?

Once this is figured out, then the question becomes why did this just 
recently start?

It is happening on only two of the three INN 2.4.5 servers, and not on 
the 2.5.2 servers.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83612
Author: Julien ÉLIE
Date: Wed, 03 Nov 2010 18:24
35 lines
2647 bytes
Hi John,

>> I ran "ctlinnd renumber sci.engr.coastal" on the one group on the transit server, 
>> and the results were positive there as well.

Glad to know!


> Now I wonder what could be rejuvenating* *the incorrect low-watermark?

A bug, or probably several bugs.


> It is happening on only two of the three INN 2.4.5 servers, and not on
> the 2.5.2 servers.

Also glad to hear :-)

You already know that my suggestion will be to upgrade!


> Once this is figured out, then the question becomes why did this just recently 
> start?

I do not know exactly what went wrong on a few of your INN 2.4.x servers.
However, I can tell you that INN 2.5.x fixed several issues regarding
the overview, ctlinnd lowmark, and how water marks for empty newsgroups
are handled in both the overview and the active file.

-- 
Julien ÉLIE

« Je ne cherche pas à connaître les réponses, je cherche à comprendre les 
questions. » 
Re: Watermarks upside down
#83625
Author: John F. Morse
Date: Thu, 04 Nov 2010 20:53
47 lines
3095 bytes
Hi Julien,

Julien ÉLIE wrote:

> You already know that my suggestion will be to upgrade!


Yes, and that is what my intentions are (and the work I'm doing).

Too bad we can't fix what is broken first though. Constant upgrades fix 
nothing. They just introduce more bugs.

It's much cheaper to fix a vehicle than to junk it and buy a new one. 
Especially if it is a bus full of people.

This same logic is what divorce counselors tell couples. Why start over 
with all the unknown problems surfacing when you've already overcome so 
many?

Would anyone tear down their house and build a new one when only a 
window pane was broken, or a door was stuck?


>> Once this is figured out, then the question becomes why did this just 
>> recently start?
>
> I do not know exactly what went wrong on a few of your INN 2.4.x servers.


If the reason for the problem is never found, then there's no reason to 
believe it won't reappear in a newer version.


> However, I can tell you that INN 2.5.x fixed several issues regarding
> the overview, ctlinnd lowmark, and how water marks for empty newsgroups
> are handled in both the overview and the active file.

The 2.5.2 servers have not (yet) experienced this particular problem. 
I'll keep my fingers crossed -- if that really will do any good. ;-)

Thanks for all you have done, Julien. It is appreciated.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83626
Author: Julien ÉLIE
Date: Thu, 04 Nov 2010 21:33
123 lines
6002 bytes
Hi John,

> Too bad we can't fix what is broken first though. Constant upgrades fix nothing. 
> They just introduce more bugs.

Aren't more bugs fixed that introduced?



> It's much cheaper to fix a vehicle than to junk it and buy a new one.
> Would anyone tear down their house and build a new one when only a window pane was 
> broken, or a door was stuck?

Yet, I perfectly know how to fix it.  See these two patches, 20 months ago:
    http://inn.eyrie.org/trac/changeset/8373
    http://inn.eyrie.org/trac/changeset/8426

The issue is in innd/ng.c:

    When a newsgroup is empty, the high water mark should be one less
    than the low water mark according to RFC 3977.
    "ctlinnd renumber" must not assume the previous high water mark
    in the active file was right.

+

    Check whether the high water mark is not inferior to the
    low water mark of a newsgroup when running "ctlinnd lowmark".

    Thanks to Steve Crook for the bug report.



Discussed with Steve in March 2009 (thread named "Errors in active file"):
    https://groups.google.com/group/news.software.nntp/msg/9db52d24187563f0?hl=fr
    https://groups.google.com/group/news.software.nntp/msg/876cf925dc8de76c?hl=fr
    https://groups.google.com/group/news.software.nntp/msg/35e968c63075a39d?hl=fr
    https://groups.google.com/group/news.software.nntp/msg/efcb53d80d1d0987?hl=fr


Quotes:


%%%%%%%%%%%%%%%%%%%
/usr/local/news/db/active:25492: `0000000000' <  '0000000002'.
/usr/local/news/db/active:25742: `0000000093' <  '0000000095'.
/usr/local/news/db/active:25939: `0000000000' <  '0000000002'.
/usr/local/news/db/active:26257: `0000000160' <  '0000000162'.
%%%%%%%%%%%%%%%%%%%
What I suspect is that expireover returns a wrong low water mark for
a few newsgroups.
You should do:
 * apply to your INN the two patches I have just provided;
 * run one day news.daily with "expireover lowmark" so as to put the right
   low mark from the overview;
 * run the following day news.daily with "expireover" only so as to put
   the right high mark for empty newsgroups;
 * and finally "expireover lowmark" again.

Then see if there are still errors.  I do not see otherwise what keeps
resetting your high water marks to 0.  And is it for empty groups only?
%%%%%%%%%%%%%%%%%%%
Hi Julien,

It's looking good!

As expected there are lots of log messages such as:
Apr 21 08:38:22 drooper innd: SERVER renumber xs4all.kabel hi from 0 to 2

Running inncheck now produces no errors.
%%%%%%%%%%%%%%%%%%%




>>> Once this is figured out, then the question becomes why did this just recently 
>>> start?
>>
>> I do not know exactly what went wrong on a few of your INN 2.4.x servers.
>
> If the reason for the problem is never found, then there's no reason to believe it 
> won't reappear in a newer version.

It won't!  :-)

I was speaking about the exact reason of why it recently started on your
news server.  I don't know.  I can only guess.  Either you never saw it
before, or a few groups recently became empty...




>> However, I can tell you that INN 2.5.x fixed several issues regarding
>> the overview, ctlinnd lowmark, and how water marks for empty newsgroups
>> are handled in both the overview and the active file.
>
> The 2.5.2 servers have not (yet) experienced this particular problem. I'll keep my 
> fingers crossed -- if that really will do any good. ;-)

No need to cross your fingers!
The issue is fixed.



Regarding this very bug, I only made a patch for the INN 2.5 branch.
I did not look at the 2.4 branch, so there is no patch provided, and
I do not plan on making one.  (Maybe these two would work out of the box,
but use at your own risks.)

You now know everything about the bug you have just experienced with
INN 2.4.5.

Have a nice week-end,

-- 
Julien ÉLIE

« -- Alors j'ai eu une idée géniale : ramener à César un des
  Gaulois irréductibles de la région !
  -- Mais, préfet, ces Gaulois irréductibles ont un grand défaut !
  -- Ah ? Lequel ?
  -- C'est qu'ils sont irréductibles justement ! » (Astérix) 
Re: Watermarks upside down
#83627
Author: John F. Morse
Date: Thu, 04 Nov 2010 23:13
224 lines
9542 bytes
Hi Julien,

Julien ÉLIE wrote:
> Hi John,
>
>> Too bad we can't fix what is broken first though. Constant upgrades 
>> fix nothing. They just introduce more bugs.
>
> Aren't more bugs fixed that introduced?


I have no way to numerate them. Do you? ;-)

I do know that 2.4.3 seemed to purr along year after-year, while 2.4.5 
has had issues surface.

Then 2.5.2 has even more problems, but so far, they all seem to be the 
configuration build for Debian, which are editable after finding all of 
them. In fairness, I'll state that 2.5.2 is running on Squeeze, which is 
still considered the "Testing" branch.

I have not discovered any "bugs" in 2.5.2 that I could attribute to your 
fine work though. :-)


>> It's much cheaper to fix a vehicle than to junk it and buy a new one.
>> Would anyone tear down their house and build a new one when only a 
>> window pane was broken, or a door was stuck?
>
> Yet, I perfectly know how to fix it.  See these two patches, 20 months 
> ago:
>    http://inn.eyrie.org/trac/changeset/8373
>    http://inn.eyrie.org/trac/changeset/8426
>
> The issue is in innd/ng.c:
>
>    When a newsgroup is empty, the high water mark should be one less
>    than the low water mark according to RFC 3977.
>    "ctlinnd renumber" must not assume the previous high water mark
>    in the active file was right.
>
> +
>
>    Check whether the high water mark is not inferior to the
>    low water mark of a newsgroup when running "ctlinnd lowmark".
>
>    Thanks to Steve Crook for the bug report.
>
>
>
> Discussed with Steve in March 2009 (thread named "Errors in active 
> file"):
>    
> https://groups.google.com/group/news.software.nntp/msg/9db52d24187563f0?hl=fr 
>
>    
> https://groups.google.com/group/news.software.nntp/msg/876cf925dc8de76c?hl=fr 
>
>    
> https://groups.google.com/group/news.software.nntp/msg/35e968c63075a39d?hl=fr 
>
>    
> https://groups.google.com/group/news.software.nntp/msg/efcb53d80d1d0987?hl=fr 
>
>
>
> Quotes:
>
>
> %%%%%%%%%%%%%%%%%%%
> /usr/local/news/db/active:25492: `0000000000' <  '0000000002'.
> /usr/local/news/db/active:25742: `0000000093' <  '0000000095'.
> /usr/local/news/db/active:25939: `0000000000' <  '0000000002'.
> /usr/local/news/db/active:26257: `0000000160' <  '0000000162'.
> %%%%%%%%%%%%%%%%%%%
> What I suspect is that expireover returns a wrong low water mark for
> a few newsgroups.
> You should do:
> * apply to your INN the two patches I have just provided;
> * run one day news.daily with "expireover lowmark" so as to put the right
>   low mark from the overview;
> * run the following day news.daily with "expireover" only so as to put
>   the right high mark for empty newsgroups;
> * and finally "expireover lowmark" again.
>
> Then see if there are still errors.  I do not see otherwise what keeps
> resetting your high water marks to 0.  And is it for empty groups only?
> %%%%%%%%%%%%%%%%%%%
> Hi Julien,
>
> It's looking good!
>
> As expected there are lots of log messages such as:
> Apr 21 08:38:22 drooper innd: SERVER renumber xs4all.kabel hi from 0 to 2
>
> Running inncheck now produces no errors.
> %%%%%%%%%%%%%%%%%%%


If only you would have posted that instead of "A bug, or probably 
several bugs." ;-)

Or if my limited brain memory would have remembered the discussion back 
in March, 2009. :-(


>>>> Once this is figured out, then the question becomes why did this 
>>>> just recently start?
>>>
>>> I do not know exactly what went wrong on a few of your INN 2.4.x 
>>> servers.
>>
>> If the reason for the problem is never found, then there's no reason 
>> to believe it won't reappear in a newer version.
>
> It won't!  :-)
>
> I was speaking about the exact reason of why it recently started on your
> news server.  I don't know.  I can only guess.  Either you never saw it
> before, or a few groups recently became empty...


That is/was my concern -- what actually started it.

I did nothing to change the two servers. The groups with active file 
errors are not the same on the two servers. The servers with larger hard 
drives do not generate any error messages, and the CNFS groups haven't 
yet rolled over since loaded months ago from old servers that had very 
old articles. They are empty.

My only thought was maybe some articles were posted to them, then NoCeM 
deleted the articles (they can't be canceled by other control messages).

There may be some bad code used by the NoCeM process in the local cancel 
routine. Who knows?


>>> However, I can tell you that INN 2.5.x fixed several issues regarding
>>> the overview, ctlinnd lowmark, and how water marks for empty newsgroups
>>> are handled in both the overview and the active file.
>>
>> The 2.5.2 servers have not (yet) experienced this particular problem. 
>> I'll keep my fingers crossed -- if that really will do any good. ;-)
>
> No need to cross your fingers!
> The issue is fixed.
>
>
>
> Regarding this very bug, I only made a patch for the INN 2.5 branch.
> I did not look at the 2.4 branch, so there is no patch provided, and
> I do not plan on making one.  (Maybe these two would work out of the box,
> but use at your own risks.)


I may try this later, when I find my round-tuit.

Although I will probably devote all of my time to 2.5.2 and the new 
servers. Not much point in beating a dead horse. ;-)

The old Optima5 2.4.5 reader server has a bad hard drive, giving errors 
for a few addresses, so it isn't going to last long anyway.

Stuff like this:

Expire messages:
expireover start Thu Nov  4 00:01:11 CDT 2010: ( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
expireover: tradindexed: cannot append 347 of data for 114 to /var/spool/news/overview/a/p/e/alt.politics.equality.DAT: Bad address
expireover: can't expire alt.politics.equality
expireover: tradindexed: cannot append 1064 of data for 388753 to /var/spool/news/overview/c/o/l/a/comp.os.linux.advocacy.DAT: Bad address
expireover: can't expire comp.os.linux.advocacy
    Article lines processed    46031
    Articles dropped               0
    Overview index dropped         0
expireover end Thu Nov  4 01:16:18 CDT 2010
lowmarkrenumber begin Thu Nov  4 01:16:18 CDT 2010: (/var/log/news/expire.lowmark)
lowmarkrenumber end Thu Nov  4 01:16:19 CDT 2010
expire begin Thu Nov  4 01:16:49 CDT 2010: (-v1)
    Article lines processed  7118014
    Articles retained        7080635
    Entries expired            37379
expire end Thu Nov  4 01:26:36 CDT 2010
	all done Thu Nov  4 01:26:36 CDT 2010



> You now know everything about the bug you have just experienced with
> INN 2.4.5.


Thanks for this additional information.


> Have a nice week-end,


Thanks. Americans still have to make it through Friday. :-(

I've been reading in the news that France is increasing the hours per 
week for workers. This has understandably upset most people. Caused a 
lot of problems with fuel depots, etc.

Here in the USA, the usual workweek has been 40 hours for many years. 
Eight hours per day, Monday through Friday. Many people work additional 
overtime, either "forced" by their company, or because ends aren't 
meeting in their budgets.

Of course I'm retired, so I have no place to go outside to work, and 
everything I do is for myself (non-paid!). ;-)

A weekend day is like any other day of the week, except my wife will 
usually spend Friday evening and Saturday with her daughters -- usually 
in a mall, shopping. I get more done because I'm not, er, "interrupted" 
as often. ;-)

So I guess my weekends are all good. Or at least usually more productive.

You have a good one too, and thanks again for the information.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Watermarks upside down
#83628
Author: Julien ÉLIE
Date: Thu, 04 Nov 2010 23:59
102 lines
4824 bytes
Hi John,

>>> Too bad we can't fix what is broken first though. Constant upgrades fix nothing. 
>>> They just introduce more bugs.
>>
>> Aren't more bugs fixed that introduced?
>
> I do know that 2.4.3 seemed to purr along year after-year, while 2.4.5 has had 
> issues surface.

!!

So you mean that INN 2.4.3 does not have the bugs INN 2.4.5 has?!?

That's something I am learning just now, then!  :-)



> Then 2.5.2 has even more problems

!!!!

I'm discovering lots of things in this thread :-)



> but so far, they all seem to be the configuration build for Debian, which are 
> editable after finding all of them. In fairness, I'll state that 2.5.2 is running 
> on Squeeze, which is still considered the "Testing" branch.

The fact that INN 2.5.2 is in the Debian "Testing" branch is totally
decorrelated from the "quality" of a given version!



> If only you would have posted that instead of "A bug, or probably several bugs." 
> ;-)

Because it was quickest for me... especially when I knew that I had no
tested patch to provide you with for INN 2.4.



> My only thought was maybe some articles were posted to them, then NoCeM deleted 
> the articles (they can't be canceled by other control messages).
>
> There may be some bad code used by the NoCeM process in the local cancel routine. 
> Who knows?

It is exactly the same code.  NoCeM just calls CCcancel() on each message-ID
(given via the INN-specific MODE CANCEL command), one after the other.
A cancel just calls CCcancel() on one message-ID.



> Although I will probably devote all of my time to 2.5.2 and the new servers. Not 
> much point in beating a dead horse. ;-)

You could also use STABLE.  Even less bugs!
It is currently like a pre-2.5.3 version.
2.5.2 is already a dead horse :-)



>> Have a nice week-end,
>
> Thanks. Americans still have to make it through Friday. :-(

French people too!
I was speaking of the "week-end" as "the end of the week".  Not restricted
to only Saturday and Sunday.



> I've been reading in the news that France is increasing the hours per week for 
> workers. This has understandably upset most people. Caused a lot of problems with 
> fuel depots, etc.

No, it is not an increase of the hours per week, but an increase of
the age from which one can retire (60 -> 62 years -- which does not mean
that the pension is at its maximum as soon as one is 60 years old;
a certain amount of years should have been spent working).

We indeed had a terrible time with fuel depots.  Now solved, hopefully!



> A weekend day is like any other day of the week, except my wife will usually spend 
> Friday evening and Saturday with her daughters -- usually in a mall, shopping. I 
> get more done because I'm not, er, "interrupted" as often. ;-)

:-)


Have a nice day,

-- 
Julien ÉLIE

« Entre ma femme et moi, le partage des tâches ménagères est équitable :
  c'est moi qui les fais, c'est elle qui les nettoie. » (Philippe Geluck) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads