Thread View: news.software.nntp
26 messages
26 total messages
Started by John F. Morse
Thu, 25 Jun 2009 09:59
cnfsstat -a errors
Author: John F. Morse
Date: Thu, 25 Jun 2009 09:59
Date: Thu, 25 Jun 2009 09:59
59 lines
3549 bytes
3549 bytes
I ran cnfsstat -a and I see there are thousands of errors. Below is a portion of the output, with the multitude snipped from the middle. Note the single error in cycbuff 003, and then numerous errors are in cycbuff 004, the first of two for the metacycbuff:slowbins news@optima2:/var/lib/news$ cnfsstat -a Class veryfast for groups matching "control.cancel,*.test" Buffer 001, size: 125 MBytes, position: 19.1 MBytes 0.15 cycles Newest: 2009-06-25 3:59:58, 0 days, 0:42:50 ago Oldest: 2009-06-21 4:01:15, 4 days, 0:41:33 ago Class fastbins for groups matching "*.bina*,@xanadu.binaries" Buffer 002, size: 250 MBytes, position: 87.0 MBytes 0.35 cycles Newest: 2009-06-24 21:58:35, 0 days, 6:44:13 ago Oldest: 2009-06-21 4:09:43, 4 days, 0:33:05 ago Class fasttext for groups matching "news.admin.net-abuse.email,news.admin.net-abuse.sightings,news.lists.filters,*.jobs*" (Missing <000d______________________a8c0@annexa0>) Buffer 003, size: 250 MBytes, position: 213 MBytes 1.85 cycles Newest: 2009-06-25 4:29:38, 0 days, 0:13:10 ago Oldest: 2009-06-21 3:40:40, 4 days, 1:02:08 ago Class slowbins for groups matching "xanadu.binaries" Buffer 004, size: 500 MBytes, position: 13.9 MBytes 0.03 cycles Newest: 2009-06-21 22:18:42, 3 days, 6:24:06 ago Oldest: 2009-06-21 3:57:27, 4 days, 0:45:21 ago (Missing <44b44143$1@news.unimelb.edu.au>) (Missing <44b441cc$1@news.unimelb.edu.au>) (Missing <44b44240$1@news.unimelb.edu.au>) (Missing <44b584cb$1@news.unimelb.edu.au>) <snip thousands> (Missing <ceFIS-5pS-13@gated-at.bofh.it>) (Missing <87eix3venn.fsf@galatea.local>) (Missing <87ab7rvem9.fsf@galatea.local>) Buffer 005, size: 500 MBytes, position: 107 MBytes 0.21 cycles Newest: 2009-06-25 0:00:02, 0 days, 3:57:18 ago Oldest: 2009-06-21 3:59:50, 3 days, 23:57:30 ago Class slowtext for groups matching "*" Buffer 006, size: 500 MBytes, position: 413 MBytes 0.83 cycles Newest: 2009-06-25 3:47:14, 0 days, 0:10:07 ago Oldest: 2009-06-21 3:23:02, 4 days, 0:34:19 ago Buffer 007, size: 500 MBytes, position: 128 kBytes 0.00 cycles Newest: 2009-06-14 0:00:41, 11 days, 3:56:40 ago Oldest: 2009-06-21 3:23:02, 4 days, 0:34:19 ago <etc.> I can only guess something happened to these articles and the history was not updated. Is there any quick fix? -- John
Re: cnfsstat -a errors
Author: gabrix
Date: Thu, 25 Jun 2009 12:56
Date: Thu, 25 Jun 2009 12:56
104 lines
5161 bytes
5161 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAD6E0DDC7525F452E18D66C6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
John F. Morse wrote:
> I ran cnfsstat -a and I see there are thousands of errors.
>=20
> Below is a portion of the output, with the multitude snipped from the
> middle.
>=20
> Note the single error in cycbuff 003, and then numerous errors are in
> cycbuff 004, the first of two for the metacycbuff:slowbins
>=20
> news@optima2:/var/lib/news$ cnfsstat -a
> Class veryfast for groups matching "control.cancel,*.test"
> Buffer 001, size: 125 MBytes, position: 19.1 MBytes 0.15 cycles
> Newest: 2009-06-25 3:59:58, 0 days, 0:42:50 ago
> Oldest: 2009-06-21 4:01:15, 4 days, 0:41:33 ago
>=20
> Class fastbins for groups matching "*.bina*,@xanadu.binaries"
> Buffer 002, size: 250 MBytes, position: 87.0 MBytes 0.35 cycles
> Newest: 2009-06-24 21:58:35, 0 days, 6:44:13 ago
> Oldest: 2009-06-21 4:09:43, 4 days, 0:33:05 ago
>=20
> Class fasttext for groups matching
> "news.admin.net-abuse.email,news.admin.net-abuse.sightings,news.lists.f=
ilters,*.jobs*"
> (Missing <000d______________________a8c0@annexa0>)
> Buffer 003, size: 250 MBytes, position: 213 MBytes 1.85 cycles
> Newest: 2009-06-25 4:29:38, 0 days, 0:13:10 ago
> Oldest: 2009-06-21 3:40:40, 4 days, 1:02:08 ago
>=20
> Class slowbins for groups matching "xanadu.binaries"
> Buffer 004, size: 500 MBytes, position: 13.9 MBytes 0.03 cycles
> Newest: 2009-06-21 22:18:42, 3 days, 6:24:06 ago
> Oldest: 2009-06-21 3:57:27, 4 days, 0:45:21 ago
> (Missing <44b44143$1@news.unimelb.edu.au>)
> (Missing <44b441cc$1@news.unimelb.edu.au>)
> (Missing <44b44240$1@news.unimelb.edu.au>)
> (Missing <44b584cb$1@news.unimelb.edu.au>)
> <snip thousands>
> (Missing <ceFIS-5pS-13@gated-at.bofh.it>)
> (Missing <87eix3venn.fsf@galatea.local>)
> (Missing <87ab7rvem9.fsf@galatea.local>)
> Buffer 005, size: 500 MBytes, position: 107 MBytes 0.21 cycles
> Newest: 2009-06-25 0:00:02, 0 days, 3:57:18 ago
> Oldest: 2009-06-21 3:59:50, 3 days, 23:57:30 ago
>=20
> Class slowtext for groups matching "*"
> Buffer 006, size: 500 MBytes, position: 413 MBytes 0.83 cycles
> Newest: 2009-06-25 3:47:14, 0 days, 0:10:07 ago
> Oldest: 2009-06-21 3:23:02, 4 days, 0:34:19 ago
> Buffer 007, size: 500 MBytes, position: 128 kBytes 0.00 cycles
> Newest: 2009-06-14 0:00:41, 11 days, 3:56:40 ago
> Oldest: 2009-06-21 3:23:02, 4 days, 0:34:19 ago
> <etc.>
>=20
> I can only guess something happened to these articles and the history
> was not updated.
>=20
> Is there any quick fix?
>=20
>=20
I have this in storage.conf:
> method cnfs {
> newsgroups: *
> class: 1
> options: TEXT
> }
This in cycbuff.conf:
> cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
> metacycbuff:BIGAREA:ONE
My innd is only text i presume i need one big area for text only
articles and this is what cnfsstat says:
> root@news:~# su -c "/usr/lib/news/bin/cnfsstat -a" news
> Class TEXT for groups matching "*"
> No buffers in Class TEXT ...
--------------enigAD6E0DDC7525F452E18D66C6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkpDc+kACgkQ2+ZUJYAjGpDLNACfYboWrUSpOpcN0sKp6h2c+AlB
brUAnjesX+RMrwuWMgcL0BkiSKJMcWss
=oUH8
-----END PGP SIGNATURE-----
--------------enigAD6E0DDC7525F452E18D66C6--
Re: cnfsstat -a errors
Author: Alexander Bartolich
Date: Thu, 25 Jun 2009 13:07
Date: Thu, 25 Jun 2009 13:07
24 lines
1812 bytes
1812 bytes
gabrix wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) [...]
Please don't do this.
> I have this in storage.conf:
>
>> method cnfs {
>> newsgroups: *
>> class: 1
>> options: TEXT
>> }
>
> This in cycbuff.conf:
>
>> cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
>> metacycbuff:BIGAREA:ONE
Change the last line to
metacycbuff:TEXT:ONE
--
seq 0 1 99 | xargs -I. echo 'Romani Ite Domum!'
Re: cnfsstat -a errors
Author: gabrix
Date: Thu, 25 Jun 2009 13:20
Date: Thu, 25 Jun 2009 13:20
39 lines
2692 bytes
2692 bytes
Alexander Bartolich wrote:
> gabrix wrote:
>> This is an OpenPGP/MIME signed message (RFC 2440 and 3156) [...]
>
> Please don't do this.
>
>> I have this in storage.conf:
>>
>>> method cnfs {
>>> newsgroups: *
>>> class: 1
>>> options: TEXT
>>> }
>> This in cycbuff.conf:
>>
>>> cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
>>> metacycbuff:BIGAREA:ONE
>
> Change the last line to
>
> metacycbuff:TEXT:ONE
>
I get this in news.err:
> Jun 25 15:15:28 news nnrpd[9485]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:34 news nnrpd[9489]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:35 news nnrpd[9491]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:36 news nnrpd[9493]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:37 news nnrpd[9495]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:39 news nnrpd[9496]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:40 news nnrpd[9498]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:43 news nnrpd[9500]: SM could not find token type or method was not initialized (5)
> Jun 25 15:15:45 news nnrpd[9502]: SM could not find token type or method was not initialized (5)
I presume i should add something to inn.conf mensioning i'm using cnfs .
what about also expire.ctl ?
G
Re: cnfsstat -a errors
Author: Alexander Bartolich
Date: Thu, 25 Jun 2009 13:37
Date: Thu, 25 Jun 2009 13:37
23 lines
2109 bytes
2109 bytes
gabrix wrote: > [...] > I get this in news.err: > >> Jun 25 15:15:28 news nnrpd[9485]: SM could not find token type or method was not initialized (5) Because of "No buffers in Class TEXT" no articles were stored in CNFS. You changed your configuration, so the storage manager will put new articles there. But that does not make the lost articles reappear. Any attempt to retrieve articles can only be the result of a broken overview database. > [...] I presume i should add something to inn.conf mensioning i'm > using cnfs . There is no such thing. > what about also expire.ctl ? Is simply ignored. -- seq 0 1 99 | xargs -I. echo 'Romani Ite Domum!'
Re: cnfsstat -a errors
Author: gabrix
Date: Thu, 25 Jun 2009 14:41
Date: Thu, 25 Jun 2009 14:41
43 lines
2524 bytes
2524 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig89F16B3A95C3272A478A4A3E
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
gabrix wrote:
>>> I have this in storage.conf:
>>>
>>>> method cnfs {
>>>> newsgroups: *
>>>> class: 1
>>>> options: TEXT
>>>> }
>>> This in cycbuff.conf:
>>>
>>>> cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
>>>> metacycbuff:BIGAREA:ONE
>> Change the last line to
>>
>> metacycbuff:TEXT:ONE
>>
>=20
If the above is correct i only have the wait the new storage method
initializes to get the cnfs done , correct ?
--------------enig89F16B3A95C3272A478A4A3E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkpDjLEACgkQ2+ZUJYAjGpAPvgCcCx73WOZTn4PzgWB0+KpQC+JV
4RIAoKOlOJKOwVKKRxYSi7MzuqaedhuB
=jgS+
-----END PGP SIGNATURE-----
--------------enig89F16B3A95C3272A478A4A3E--
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Fri, 26 Jun 2009 19:33
Date: Fri, 26 Jun 2009 19:33
43 lines
2782 bytes
2782 bytes
Hi John, > I ran cnfsstat -a and I see there are thousands of errors. Is it a problem? These are not errors but notices. > Class slowbins for groups matching "xanadu.binaries" > Buffer 004, size: 500 MBytes, position: 13.9 MBytes 0.03 cycles > Newest: 2009-06-21 22:18:42, 3 days, 6:24:06 ago > Oldest: 2009-06-21 3:57:27, 4 days, 0:45:21 ago > (Missing <44b44143$1@news.unimelb.edu.au>) > (Missing <44b441cc$1@news.unimelb.edu.au>) > (Missing <44b44240$1@news.unimelb.edu.au>) > (Missing <44b584cb$1@news.unimelb.edu.au>) > <snip thousands> > (Missing <ceFIS-5pS-13@gated-at.bofh.it>) > (Missing <87eix3venn.fsf@galatea.local>) > (Missing <87ab7rvem9.fsf@galatea.local>) > Buffer 005, size: 500 MBytes, position: 107 MBytes 0.21 cycles > Newest: 2009-06-25 0:00:02, 0 days, 3:57:18 ago > Oldest: 2009-06-21 3:59:50, 3 days, 23:57:30 ago cnfsstat checks in order the articles in your CNFS spool. As soon as it retrieves the date of the eldest, it gives it. I believe the above articles have expired (see expire.ctl) and are no longer in your history and your overview. However, as it is a cyclic buffer, they are still here in the disk. Do you confirm it is what is happening? No need to worry, though. > Is there any quick fix? I don't think there is a fix for that. But maybe other people have better suggestions. -- Julien ÉLIE « Etna : lave dévalante. »
Re: cnfsstat -a errors
Author: Ray Banana
Date: Fri, 26 Jun 2009 20:13
Date: Fri, 26 Jun 2009 20:13
27 lines
2472 bytes
2472 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> I ran cnfsstat -a and I see there are thousands of errors. > Is it a problem? These are not errors but notices. I had 3 million of those and that makes cnfsstat unusable. > cnfsstat checks in order the articles in your CNFS spool. As soon > as it retrieves the date of the eldest, it gives it. > I believe the above articles have expired (see expire.ctl) and are > no longer in your history and your overview. However, as it is a cyclic > buffer, they are still here in the disk. And there is no way to get rid of such articles. > Do you confirm it is what is happening? > No need to worry, though. Well, there is, actually. If you delete some groups, run expireover and expire to remove the articles from history and overview and are forced to run makehistory -O later on, those articles will come out to play again and will mess up your article numbers. I really wish there was a way to logically delete articles from CNFS. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Fri, 26 Jun 2009 20:31
Date: Fri, 26 Jun 2009 20:31
15 lines
1806 bytes
1806 bytes
Hi Ray, > If you delete some groups, run expireover and > expire to remove the articles from history and overview and are forced > to run makehistory -O later on, those articles will come out to play > again and will mess up your article numbers. How do they mess up article numbers? Won't they only make the low watermark lower than before? And on next expiration disappear? -- Julien ÉLIE « Bibere humanum est, ergo bibamus. »
Re: cnfsstat -a errors
Author: John F. Morse
Date: Fri, 26 Jun 2009 20:42
Date: Fri, 26 Jun 2009 20:42
152 lines
6160 bytes
6160 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> I ran cnfsstat -a and I see there are thousands of errors.
>
> Is it a problem? These are not errors but notices.
>
>> Class slowbins for groups matching "xanadu.binaries"
>> Buffer 004, size: 500 MBytes, position: 13.9 MBytes 0.03 cycles
>> Newest: 2009-06-21 22:18:42, 3 days, 6:24:06 ago
>> Oldest: 2009-06-21 3:57:27, 4 days, 0:45:21 ago
>> (Missing <44b44143$1@news.unimelb.edu.au>)
>> (Missing <44b441cc$1@news.unimelb.edu.au>)
>> (Missing <44b44240$1@news.unimelb.edu.au>)
>> (Missing <44b584cb$1@news.unimelb.edu.au>)
>> <snip thousands>
>> (Missing <ceFIS-5pS-13@gated-at.bofh.it>)
>> (Missing <87eix3venn.fsf@galatea.local>)
>> (Missing <87ab7rvem9.fsf@galatea.local>)
>> Buffer 005, size: 500 MBytes, position: 107 MBytes 0.21 cycles
>> Newest: 2009-06-25 0:00:02, 0 days, 3:57:18 ago
>> Oldest: 2009-06-21 3:59:50, 3 days, 23:57:30 ago
>
> cnfsstat checks in order the articles in your CNFS spool. As soon
> as it retrieves the date of the eldest, it gives it.
> I believe the above articles have expired (see expire.ctl) and are
> no longer in your history and your overview. However, as it is a cyclic
> buffer, they are still here in the disk.
>
> Do you confirm it is what is happening?
> No need to worry, though.
>
>> Is there any quick fix?
>
> I don't think there is a fix for that. But maybe other people have
> better suggestions.
>
Hi Julien.
Here's what I have:
My expire.ctl on the optima2 (new server) only has:
*:A:16:16:16
xanadu.*:A:never:never:never
There were only a 21 articles in the xanadu.binaries group on the old
server, optima7. Here is the expire.ctl on it:
*:A:16:16:16
alt.binaries.joker:A:2:2:2
news.*:A:4:4:4
news.lists.filters:A:2:2:2
comp.os.linux.advocacy:A:4:4:4
control*:A:3:3:3
xanadu.*:A:never:never:never
xanadu.test:A:3:3:3
xanadu.binaries:A:20:20:20
Feeding articles from optima7 to optima2 was per
http://www.eyrie.org/~eagle/faqs/inn.html#S6.4 including xrefslave=true
and c=0.
I had to use that method because optima7 was tradspool only, while the
new optima2 was a combination of tradspool for the legacy local groups
(xanadu.*) and new CNFS for all other groups.
The xanadu.binaries group, however, is now in a CNFS buffer (so I hope!).
Here is how I configured optima2:
method tradspool {
newsgroups:
xanadu.announce,xanadu.brisbee,xanadu.computers,xanadu.info,xanadu.petchat,xanadu.raucouscaucus,xanadu.soapbox
class: 0
}
method cnfs {
newsgroups: control.cancel,*.test
class: 1
options: veryfast
}
method cnfs {
newsgroups: *.bina*,@xanadu.binaries
class: 2
options: fastbins
}
method cnfs {
newsgroups:
news.admin.net-abuse.email,news.admin.net-abuse.sightings,news.lists.filters,*.jobs*
class: 3
options: fasttext
}
method cnfs {
newsgroups: xanadu.binaries
class: 4
options: slowbins
}
method cnfs {
newsgroups: *
class: 5
options: slowtext
}
>From what I read, I had to use the poison wildmat "@" instead of the
bang (see the class 2 entry above) in order to put all "*.bina*" groups
in class 2, except for xanadu.binaries, which I assigned to the class 4
metacycbuff. Is this the proper format and proper ordering?
After I ran makehistory it seems to have fixed these earlier notices
problems. But what caused them is my worry. I'd like to find out so it
doesn't happen again.
Now I need to feed this optima2 transit server to optima5, which will be
the new reader server.
Since all non-local articles are in CNFS buffers, and optima5 will have
an identical design, I will have to again use the
http://www.eyrie.org/~eagle/faqs/inn.html#S6.4 including xrefslave=true
method for feeding them.
Q. Would it be to my advantage to simply copy the tradspool articles
directory over using rsync, then run tdx-util, makehistory, makedbz (in
some order)? I ask because rsync or rcp/scp is much faster than an
innxmit feed. This should preserve the message numbering like xrefslave
provides. I don't think I could simply copy the 512 MB CNFS buffers and
expect them to work. Comments?
I can throttle if needed (probably should). The local groups are not
likely to have anything written to them during the move, but the CNFS
groups need to be, or should be, able to take feeds from my peers so I
don't lose articles.
Or would throttling cause my peers to simply spool any articles until my
server is again ready to accept feeds?
(Can you tell I'm tired?) ;-)
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: cnfsstat -a errors
Author: John F. Morse
Date: Fri, 26 Jun 2009 20:53
Date: Fri, 26 Jun 2009 20:53
41 lines
2563 bytes
2563 bytes
Ray Banana wrote: > Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > > >>> I ran cnfsstat -a and I see there are thousands of errors. >>> >> Is it a problem? These are not errors but notices. >> > > I had 3 million of those and that makes cnfsstat unusable. > Tell me about it. ;-) >> cnfsstat checks in order the articles in your CNFS spool. As soon >> as it retrieves the date of the eldest, it gives it. >> I believe the above articles have expired (see expire.ctl) and are >> no longer in your history and your overview. However, as it is a cyclic >> buffer, they are still here in the disk. >> > > And there is no way to get rid of such articles. > Try the makehistory without the -O if it is a transit server without readers. Seemed to work for me. At least cnfsstat -a works now without any "garbage." I don't know what will happen if I try a newsreader on this server now. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: cnfsstat -a errors
Author: Ray Banana
Date: Fri, 26 Jun 2009 21:17
Date: Fri, 26 Jun 2009 21:17
43 lines
3904 bytes
3904 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> If you delete some groups, run expireover and >> expire to remove the articles from history and overview and are forced >> to run makehistory -O later on, those articles will come out to play >> again and will mess up your article numbers. > How do they mess up article numbers? Won't they only make the low watermark > lower than before? And on next expiration disappear? I forgot to mention: If you delete some groups, run expireover and expire to remove the articles from both history and overview and *recreate the groups later on*, thus resetting the article numbers to 1 again. The reason for deleting these groups was the fact that during a previous makehistory article numbers jumped from very low (~1000) to 30.000.000 or even 300.000.000 for no obvious reason, leading to enormous gaps. Everything seemed to be OK after deleting and recreating the groups, no trace of the high article numbers until my main server crashed badly on January 1 at midnight (Linux kernel choked on the leap second) and my OVDB ended up as a pile of garbage in lost+found. After the consecutive makehistory they were all back again, old articles with absurdly high numbers and newer articles with very low numbers. It's really impressive to watch OE and Thunderbird go completely belly up on this. You can force such articles from the overview with expireover -N, but there is no way to remove them from the history as long a groupbaseexpiry is true in inn.conf, so don't transfer your articles to another server using the method described in the INN FAQ, because that will also transfer the same old articles that were not visible to clients on the original server. I ended up writing a script that scanned the history, retrieved each article that was posted before a particular date, retrieved and checked the headers for particular groups and and article numbers and used sm -d to delete these articles. After a final expire I was then able to transfer all remaining articles to a new server without resurrecting the zombies. The old server still has the articles in the CNFS buffers, but not in the history and overview files. There will definitely be no more makehistory on this server as it will be phased out next week. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: cnfsstat -a errors
Author: D. Stussy
Date: Fri, 26 Jun 2009 23:29
Date: Fri, 26 Jun 2009 23:29
43 lines
3030 bytes
3030 bytes
"Ray Banana" <rayban@banana.shacknet.nu> wrote in message news:80ab3uvjln.fsf@banana.shacknet.nu... > Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > >> I ran cnfsstat -a and I see there are thousands of errors. > > Is it a problem? These are not errors but notices. > > I had 3 million of those and that makes cnfsstat unusable. Due to experimenting with the overview, my trad-ov and history files only go back to June 20 (this month). If I were to run this (before rebuilding my history/ov), I'd get 65M of those messages! (My CNFS buffer size is 370.9 GB.) I think it needs to abort printing these notices if there are more than 10 per buffer (unless a specific command-line switch is used to print them all). > > cnfsstat checks in order the articles in your CNFS spool. As soon > > as it retrieves the date of the eldest, it gives it. > > I believe the above articles have expired (see expire.ctl) and are > > no longer in your history and your overview. However, as it is a cyclic > > buffer, they are still here in the disk. > > And there is no way to get rid of such articles. The point of the cyclic buffer is that you don't need to get rid of them until the space is needed by the newest articles. However, I'm certain that running makehistory will get rid of the notices. > > Do you confirm it is what is happening? > > No need to worry, though. > > Well, there is, actually. If you delete some groups, run expireover and > expire to remove the articles from history and overview and are forced > to run makehistory -O later on, those articles will come out to play > again and will mess up your article numbers. I really wish there was a > way to logically delete articles from CNFS. Well, there's always writing over the CNFS buffer (or partition) with "dd if=/dev/zero of=...."
Re: cnfsstat -a errors
Author: Ray Banana
Date: Sat, 27 Jun 2009 05:21
Date: Sat, 27 Jun 2009 05:21
29 lines
2672 bytes
2672 bytes
Thus spake "D. Stussy" <spam@bde-arc.ampr.org> >> And there is no way to get rid of such articles. > The point of the cyclic buffer is that you don't need to get rid of them > until the space is needed by the newest articles. The point is that it may be desirable, under certain circumstances, to get rid of paricular articles before they expire from the CNFS "naturally". > However, I'm certain that running makehistory will get rid of the > notices. No doubt, but I didn't want to have these articles back in the history file. >> Well, there is, actually. If you delete some groups, run expireover and >> expire to remove the articles from history and overview and are forced >> to run makehistory -O later on, those articles will come out to play >> again and will mess up your article numbers. I really wish there was a >> way to logically delete articles from CNFS. > Well, there's always writing over the CNFS buffer (or partition) with "dd > if=/dev/zero of=...." I didn't want to lose *all* articles in the buffer, only those for particular groups. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: cnfsstat -a errors
Author: D. Stussy
Date: Sat, 27 Jun 2009 06:47
Date: Sat, 27 Jun 2009 06:47
16 lines
2005 bytes
2005 bytes
"Ray Banana" <rayban@banana.shacknet.nu> wrote in message news:80my7utfpb.fsf@banana.shacknet.nu... > I didn't want to lose *all* articles in the buffer, only those for > particular groups. Unfortunately, that's one of the tradeoffs when choosing this method over the traditional hierarchial method which stores each group into a directory and its articles as files (unless of course you've set up one CNFS buffer per group and assigned each to a single group - but who does that?). "Articles expire only as overwritten" is a pretty clear definition of the CNFS method. I think you're stuck with rebuilding the history and overview, then using the overview data to remove the messages from the history file. That's the best one can do with this method.
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Sat, 27 Jun 2009 10:56
Date: Sat, 27 Jun 2009 10:56
22 lines
2022 bytes
2022 bytes
Hi Ray, >>> I ran cnfsstat -a and I see there are thousands of errors. >> >> Is it a problem? These are not errors but notices. > > I had 3 million of those and that makes cnfsstat unusable. Would a quiet "-q" mode in cnfsstat suit you? > The reason for deleting these groups was the fact that during a previous > makehistory article numbers jumped from very low (~1000) to 30.000.000 > or even 300.000.000 for no obvious reason, leading to enormous gaps. The effet of the Bermuda Triangle in the Mediterranean Sea :) -- Julien ÉLIE « Bibere humanum est, ergo bibamus. »
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Sat, 27 Jun 2009 11:12
Date: Sat, 27 Jun 2009 11:12
68 lines
3706 bytes
3706 bytes
Hi John,
> method cnfs {
> newsgroups: *.bina*,@xanadu.binaries
> class: 2
> options: fastbins
> }
>
> method cnfs {
> newsgroups: xanadu.binaries
> class: 4
> options: slowbins
> }
>
> From what I read, I had to use the poison wildmat "@" instead of the
> bang (see the class 2 entry above) in order to put all "*.bina*" groups
> in class 2, except for xanadu.binaries, which I assigned to the class 4
> metacycbuff. Is this the proper format and proper ordering?
Yes. The storage.conf file is scanned in order; the first matching method
is used. Crossposted articles to xanadu.binaries are poisoned by "@"
(which is different from "!").
> After I ran makehistory it seems to have fixed these earlier notices
> problems. But what caused them is my worry. I'd like to find out so it
> doesn't happen again.
I don't know what happened.
> Q. Would it be to my advantage to simply copy the tradspool articles
> directory over using rsync, then run tdx-util, makehistory, makedbz (in
> some order)? I ask because rsync or rcp/scp is much faster than an
> innxmit feed. This should preserve the message numbering like xrefslave
> provides.
This method also works.
See <http://www.eyrie.org/~eagle/faqs/inn.html#S6.13>.
> I don't think I could simply copy the 512 MB CNFS buffers and
> expect them to work. Comments?
I think it works: makehistory can recover articles in CNFS buffers.
> I can throttle if needed (probably should). The local groups are not
> likely to have anything written to them during the move, but the CNFS
> groups need to be, or should be, able to take feeds from my peers so I
> don't lose articles.
>
> Or would throttling cause my peers to simply spool any articles until my
> server is again ready to accept feeds?
You should throttle the server (or shut it down to be safe). You will
not lose articles: your feeds will spool them and resend them when you
are back.
However, note that innxmit is the safest method, and clean to use. You
just need some more time to do the migration.
--
Julien ÉLIE
« Le chemin le plus court d'un point à un autre est la ligne droite,
à condition que les deux points soient bien en face l'un de l'autre. » (Pierre Dac)
Re: cnfsstat -a errors
Author: John F. Morse
Date: Sat, 27 Jun 2009 21:40
Date: Sat, 27 Jun 2009 21:40
24 lines
2064 bytes
2064 bytes
Julien ÉLIE wrote: > Hi Ray, > >>>> I ran cnfsstat -a and I see there are thousands of errors. >>> >>> Is it a problem? These are not errors but notices. >> >> I had 3 million of those and that makes cnfsstat unusable. > > Would a quiet "-q" mode in cnfsstat suit you? Wouldn't that defeat the purpose of running "cnfsstat -a" to check buffer fill? What is needed is some quiet option that would stop error message display, while still allowing the buffer info to be provided. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: cnfsstat -a errors
Author: John F. Morse
Date: Sat, 27 Jun 2009 22:06
Date: Sat, 27 Jun 2009 22:06
57 lines
3360 bytes
3360 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> method cnfs {
>> newsgroups: *.bina*,@xanadu.binaries
>> class: 2
>> options: fastbins
>> }
>>
>> method cnfs {
>> newsgroups: xanadu.binaries
>> class: 4
>> options: slowbins
>> }
>>
>> From what I read, I had to use the poison wildmat "@" instead of the
>> bang (see the class 2 entry above) in order to put all "*.bina*" groups
>> in class 2, except for xanadu.binaries, which I assigned to the class 4
>> metacycbuff. Is this the proper format and proper ordering?
>
> Yes. The storage.conf file is scanned in order; the first matching
> method
> is used. Crossposted articles to xanadu.binaries are poisoned by "@"
> (which is different from "!").
Let me be sure of this: The bang ("!") is not usable in this
configuration, so the "@" must be used?
I know I read this somewhere, and was wondering why couldn't this be
modified for using a true "!" without poisoning the group should there
be desired crossposts. If true, could this be a future modification?
And as I have it above, the xanadu.binaries articles will not be placed
in the class 2 buffer where all other binary groups go, but will
continue down to the class 4 buffer?
What would happen if an article is posted to x.binaries and also to
usenet.binaries?
Perhaps I should assign xanadu.binaries first, with the *.bina* further
down?
Historically I used tradespool for xanadu.binaries, but had a short
expiry time to keep the hard drive space reasonable. For the new
servers, using CNFS, I won't need to worry about the drive filling up,
so I created a "slowbins" metacycbuff with more than one cycbuff. That
should provide a long term availability without any danger of the drive
becoming full.
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Sun, 28 Jun 2009 07:28
Date: Sun, 28 Jun 2009 07:28
23 lines
2194 bytes
2194 bytes
Hi John, >> Would a quiet "-q" mode in cnfsstat suit you? > > Wouldn't that defeat the purpose of running "cnfsstat -a" to check > buffer fill? > > What is needed is some quiet option that would stop error message > display, while still allowing the buffer info to be provided. It was in fact what I meant :) The "-q" mode would only stop these notices. But maybe you prefer it the other way? A "-v" mode (verbose) to show these notices, absent by default? -- Julien ÉLIE « Le chemin le plus court d'un point à un autre est la ligne droite, à condition que les deux points soient bien en face l'un de l'autre. » (Pierre Dac)
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Sun, 28 Jun 2009 07:49
Date: Sun, 28 Jun 2009 07:49
82 lines
4232 bytes
4232 bytes
Hi John,
>>> newsgroups: *.bina*,@xanadu.binaries
>>
>> Yes. The storage.conf file is scanned in order; the first matching
>> method is used. Crossposted articles to xanadu.binaries are poisoned
>> by "@" (which is different from "!").
>
> Let me be sure of this: The bang ("!") is not usable in this
> configuration, so the "@" must be used?
No, both "@" and "!" are usable.
> I know I read this somewhere, and was wondering why couldn't this be
> modified for using a true "!" without poisoning the group should there
> be desired crossposts.
I believe you read it in the storage.conf documentation of INN 2.4:
Poison wildmat expressions (expressions starting with ``@'') are allowed
and can be used to exclude certain group patterns. ``!'' cannot be used,
however.
I fixed it in INN 2.5.0:
http://www.eyrie.org/~eagle/software/inn/docs/storage.conf.html
Poison wildmat expressions (expressions starting with "@") are allowed
and can be used to exclude certain group patterns: articles crossposted
to poisoned newsgroups will not be stored using this storage method.
The <wildmat> pattern is matched in order.
> If true, could this be a future modification?
"!" works fine in INN 2.4.x; it was just a documentation issue.
I fixed the problem only in CURRENT (which was INN 2.5) while converting
the storage.conf man page into another format (POD).
> And as I have it above, the xanadu.binaries articles will not be placed
> in the class 2 buffer where all other binary groups go, but will
> continue down to the class 4 buffer?
Unless I crosspost to "xanadu.binaries,xanadu.raucouscaucus", in which
case the class 0 will match (because of xanadu.raucouscaucus).
The same goes for a crosspost with "fr.test" because of the class 1.
To prevent that, you can either use "exactbool" in storage.conf or
change the order of your methods in storage.conf.
> What would happen if an article is posted to x.binaries and also to
> usenet.binaries?
Class 4. There was a poison pattern.
> Perhaps I should assign xanadu.binaries first, with the *.bina* further
> down?
Exactly!
> Historically I used tradespool for xanadu.binaries, but had a short
> expiry time to keep the hard drive space reasonable. For the new
> servers, using CNFS, I won't need to worry about the drive filling up,
> so I created a "slowbins" metacycbuff with more than one cycbuff. That
> should provide a long term availability without any danger of the drive
> becoming full.
That's wise.
--
Julien ÉLIE
« Le chemin le plus court d'un point à un autre est la ligne droite,
à condition que les deux points soient bien en face l'un de l'autre. » (Pierre Dac)
Re: cnfsstat -a errors
Author: Ray Banana
Date: Sun, 28 Jun 2009 07:51
Date: Sun, 28 Jun 2009 07:51
25 lines
2491 bytes
2491 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> >> I had 3 million of those and that makes cnfsstat unusable. > Would a quiet "-q" mode in cnfsstat suit you? I would opt for an explicit verbose mode, as the warnings are not relevant to the primary use of cnfsstat -a, namely to display usage statistics for CNFS buffers. Consistency checks for article storage, history and overview are a different aspect. >> The reason for deleting these groups was the fact that during a previous >> makehistory article numbers jumped from very low (~1000) to 30.000.000 >> or even 300.000.000 for no obvious reason, leading to enormous gaps. > The effet of the Bermuda Triangle in the Mediterranean Sea :) The effect of bad submarine cable in the Mediterranean in combination with a mild sunstroke, more likely. Anyway, Eternal September put an end to erratic article numbering, OVDB woes and zombies in the CNFS buffers. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: cnfsstat -a errors
Author: Julien ÉLIE
Date: Sun, 28 Jun 2009 11:12
Date: Sun, 28 Jun 2009 11:12
16 lines
1930 bytes
1930 bytes
Hi Ray,
> I would opt for an explicit verbose mode, as the warnings are not
> relevant to the primary use of cnfsstat -a, namely to display usage
> statistics for CNFS buffers. Consistency checks for article storage,
> history and overview are a different aspect.
OK, that's done:
http://inn.eyrie.org/trac/changeset/8540/trunk
--
Julien ÉLIE
« C'est la première fois que je vois traiter une affaire avec autant
de punch ! » (Astérix)
Re: cnfsstat -a errors
Author: John F. Morse
Date: Sun, 28 Jun 2009 12:37
Date: Sun, 28 Jun 2009 12:37
29 lines
2318 bytes
2318 bytes
Julien ÉLIE wrote: > Hi John, > >>> Would a quiet "-q" mode in cnfsstat suit you? >> >> Wouldn't that defeat the purpose of running "cnfsstat -a" to check >> buffer fill? >> >> What is needed is some quiet option that would stop error message >> display, while still allowing the buffer info to be provided. > > It was in fact what I meant :) > The "-q" mode would only stop these notices. > > But maybe you prefer it the other way? A "-v" mode (verbose) to show > these notices, absent by default? Good day, Julien, I agree with Ray that verbose should need to be requested if desired. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: cnfsstat -a errors
Author: John F. Morse
Date: Sun, 28 Jun 2009 12:47
Date: Sun, 28 Jun 2009 12:47
40 lines
2682 bytes
2682 bytes
Ray Banana wrote: > Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> > > >>> I had 3 million of those and that makes cnfsstat unusable. >>> >> Would a quiet "-q" mode in cnfsstat suit you? >> > > I would opt for an explicit verbose mode, as the warnings are not > relevant to the primary use of cnfsstat -a, namely to display usage > statistics for CNFS buffers. Consistency checks for article storage, > history and overview are a different aspect. > > >>> The reason for deleting these groups was the fact that during a previous >>> makehistory article numbers jumped from very low (~1000) to 30.000.000 >>> or even 300.000.000 for no obvious reason, leading to enormous gaps. >>> >> The effet of the Bermuda Triangle in the Mediterranean Sea :) >> > > The effect of bad submarine cable in the Mediterranean in combination > with a mild sunstroke, more likely. > > Anyway, Eternal September put an end to erratic article numbering, OVDB > woes and zombies in the CNFS buffers. > I'm wondering if some of the problem I've been experiencing on the test server is the multitude of NoCeM cancels don't actually remove the articles from the buffers. Therefore, if makehistory is ran, the articles are again picked up. I'd like to find some documentation on the cycbuff buffer file format. -- John
Re: cnfsstat -a errors
Author: John F. Morse
Date: Sun, 28 Jun 2009 13:03
Date: Sun, 28 Jun 2009 13:03
50 lines
2935 bytes
2935 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> Let me be sure of this: The bang ("!") is not usable in this
>> configuration, so the "@" must be used?
>
> No, both "@" and "!" are usable.
>
>> I know I read this somewhere, and was wondering why couldn't this be
>> modified for using a true "!" without poisoning the group should there
>> be desired crossposts.
>
> I believe you read it in the storage.conf documentation of INN 2.4:
>
> Poison wildmat expressions (expressions starting with ``@'') are
> allowed
> and can be used to exclude certain group patterns. ``!'' cannot be
> used,
> however.
>
>
> I fixed it in INN 2.5.0:
>
> http://www.eyrie.org/~eagle/software/inn/docs/storage.conf.html
>
> Poison wildmat expressions (expressions starting with "@") are allowed
> and can be used to exclude certain group patterns: articles
> crossposted
> to poisoned newsgroups will not be stored using this storage method.
> The <wildmat> pattern is matched in order.
Yep, that's it! The man page packaged with INN 2.4.5 has the old wording.
STORAGE.CONF(5)
HISTORY
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
This is revision 6124, dated 2003-01-14.
Thanks for pointing this out for me. It will make my job a lot easier.
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
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