Thread View: news.software.nntp
2 messages
2 total messages
Started by Matt Hubbard
Fri, 24 Mar 2000 00:00
storage.conf and overview.ctl - using cnfs
Author: Matt Hubbard
Date: Fri, 24 Mar 2000 00:00
Date: Fri, 24 Mar 2000 00:00
42 lines
2061 bytes
2061 bytes
Hi,
I've a couple of questions about setting up storage.conf and
overview.ctl under INN 2.2.2 with CNFS.
I've tried to analyse the feed from an existing news-server's tradspool,
a machine which I'm building a replacement for. I wanted to separate out
groups with high article count from those with high article count and
size and from the rest of the feed. Is this a particularly good idea?
At any rate, in setting up the storarge.conf "methods", the "INSTALL"
document mentions that you should only have one method per
"metacycbuff". However, I could not find any limitations on how the
"wildmat" string for matching newsgroups is written.
Does anyone know what the maximum line length for the "newsgroups" field
is and whether you can use "\" as a line continuation, like you can in
"newsfeeds"?
# high count
method cnfs {
newsgroups: biz/jobs/offered,talk/politics/guns,rec/sport/pro-wrestling
class: 1
options: H-COUNT
}
My second question is about setting up files in which to store the
overview data. "INSTALL" document mentions creating 27 storage areas in
the "overview.ctl" section, but it doesn't say how you go about making
them and specifying them in the configuration. It does say something
about unique numbers from 0 to 254, but I don't see how this relates to
file locations and sizes.
Can any one throw some extra light on this subject?
Cheers,
Matt Hubbard.
Re: storage.conf and overview.ctl - using cnfs
Author: Kjetil Torgrim Homme
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
54 lines
2362 bytes
2362 bytes
[Matt Hubbard]
> At any rate, in setting up the storarge.conf "methods", the
> "INSTALL" document mentions that you should only have one method
> per "metacycbuff".
I think you misread that. You should only have one class (the numeric
value) per metacycbuff. You can define several rules which all go
into the specified metacycbuff, the first matching rule is used.
> However, I could not find any limitations on how the "wildmat"
> string for matching newsgroups is written.
There is a limit, but I don't remember it off hand. It's something
like 1000 characters.
> # high count
> method cnfs {
> newsgroups: biz/jobs/offered,talk/politics/guns,rec/sport/pro-wrestling
What does the slashes mean? The separator is ".".
> My second question is about setting up files in which to store the
> overview data. "INSTALL" document mentions creating 27 storage
> areas in the "overview.ctl" section, but it doesn't say how you go
> about making them and specifying them in the configuration.
They will be created automatically.
> It does say something about unique numbers from 0 to 254, but I
> don't see how this relates to file locations and sizes.
You have to tune the patterns to get similarily sized files. I don't
think it matters much, though, although control.cancel may be
worthwhile to special case since it is so volatile. I use this file:
0:alt.[a-e]*
1:alt.[f-q]*
2:a*
3:control.cancel
4:c*
5:[fi]*
6:n*
7:rec.[a-g]*
8:r*
9:s*
10:*
The files are stored where you told uniover to go.
Kjetil T.
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