🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by pfenton Fri, 06 Jun 2014 08:01
buffindexed.conf
#86265
Author: pfenton
Date: Fri, 06 Jun 2014 08:01
31 lines
2279 bytes
 Hi.

 Im using Inn2.5, and have CNFS storage working fine.

 I setup some overview buffers in buffindexed.conf, and set ovmethod in 
inn.conf to buffindexed.

 Running successfully with a few great peers, when I run innstat,
the result grows every day:
Overview buffer usage:
157416 overview records stored
1.00% overview space used 

 and doesn't change to 0.00%.

 Is this just like the CNFS storage method, and will just wrap around?

 My buffedindex.conf
1:/usr/local/news/spool/overview/OV1:1536000                                                                                          
2:/usr/local/news/spool/overview/OV2:1536000                                                                                          
3:/usr/local/news/spool/overview/OV3:1536000                                                                                          
4:/usr/local/news/spool/overview/OV4:1536000                                                                                          
5:/usr/local/news/spool/overview/OV5:1536000

 Created OV1-5 no problem, and everything 'seems' fine.

 Thanks for any input..

 Paul
Re: buffindexed.conf
#86268
Author: Julien ÉLIE
Date: Fri, 06 Jun 2014 16:43
21 lines
2108 bytes
Hi Paul,

> Is this just like the CNFS storage method, and will just wrap
> around?

No, buffindexed does not work similarly.  I suggest the reading of the 
following documentation:
     http://www.eyrie.org/~eagle/software/inn/docs/buffindexed.conf.html

"Buffindexed buffers are of fixed size, so buffindexed will never use 
more space than what is available in those buffers.  If all buffers are 
full, innd will throttle when it attempts to store overview information 
for any additional articles until space is freed (with expireover, for 
instance) or another buffer is added.  This is unlike the CNFS storage 
method.
You can see the current usage of the buffers with the -o option to inndf."

-- 
Julien ÉLIE

« Vinum bonum laetificat cor hominis. »
Re: buffindexed.conf
#86269
Author: Anonymous
Date: Fri, 06 Jun 2014 19:03
34 lines
2031 bytes
 Hi Julien!

 Thank you for this help and referring me to the man page.

 So, I now know that I have to run expireover through a cron job, as news
user,.

 In my current cron job I know that news.daily runs the expireover
and as I have:
0 3 * * * news /usr/local/news/bin/news.daily expireover lowmark

inn.conf groupbaseexpiry = false

Is the below example correct?

In my expire.ctl I've set:
/remember/:15
BINARY:A:0:1:15:32
TEXT:A:never:never:never:365

 where BINARY and TEXT are classes defined in my storage.conf.

 Am I allowed to use BOTH Lines???:
BINARY:A:0:1:15:32   <--- All Groups in BINARY class, 0 = honor expires, 
keep from 1-15 days, flush article after 32 days.
 
TEXT:A:0:never:never:365  <--- All groups in TEXT class, no min/default days 
to keep, and clean or flush from TEXT group after a year.

 Thanks for your input..

 Paul
Re: buffindexed.conf
#86270
Author: Anonymous
Date: Fri, 06 Jun 2014 19:15
48 lines
2469 bytes
Anonymous wrote:

BINARY:A:0:1:15:32
TEXT:never:never:never:365

 I believe I've figured it out..

TEXT:1:128:182
BINARY:1:7:35

 Still wondering if allowed BOTH lines?

 I guess I'll see in the future!  :-)

> 
>  Hi Julien!
> 
>  Thank you for this help and referring me to the man page.
> 
>  So, I now know that I have to run expireover through a cron job, as news
> user,.
> 
>  In my current cron job I know that news.daily runs the expireover
> and as I have:
> 0 3 * * * news /usr/local/news/bin/news.daily expireover lowmark
> 
> inn.conf groupbaseexpiry = false
> 
> Is the below example correct?
> 
> In my expire.ctl I've set:
> /remember/:15
> BINARY:A:0:1:15:32
> TEXT:A:never:never:never:365
> 
>  where BINARY and TEXT are classes defined in my storage.conf.
> 
>  Am I allowed to use BOTH Lines???:
> BINARY:A:0:1:15:32   <--- All Groups in BINARY class, 0 = honor expires,
> keep from 1-15 days, flush article after 32 days.
>  
> TEXT:A:0:never:never:365  <--- All groups in TEXT class, no min/default
> days to keep, and clean or flush from TEXT group after a year.
> 
>  Thanks for your input..
> 
>  Paul
Re: buffindexed.conf
#86271
Author: Julien ÉLIE
Date: Sat, 07 Jun 2014 08:51
28 lines
2163 bytes
Hi Paul,

> TEXT:1:128:182
> BINARY:1:7:35
>
>   Still wondering if allowed BOTH lines?

The first part of an expire.ctl entry when groupbaseexpiry is set to 
false is a storage class, and not the name of a buffer.  I bet you 
should use "0:1:128:182" instead of "TEXT:1:128:182" if your related 
entry in storage.conf is class 0.
Same thing for BINARY, with another class number.
You should list all the class numbers you have in your storage.conf file.


> So, I now know that I have to run expireover through a cron job, as news
> user.

Maybe you should have a look at INSTALL to see other things you should 
parameter:
     http://www.eyrie.org/~eagle/software/inn/docs/install.html

The cron jobs are detailed in the "Setting Up the Cron Jobs" section.

-- 
Julien ÉLIE

« Vinum bonum laetificat cor hominis. »
Re: buffindexed.conf
#86273
Author: Anonymous
Date: Mon, 09 Jun 2014 10:37
50 lines
2886 bytes
 Hi there Julien! :-)

> iry is set to
> false is a storage class, and not the name of a buffer.  I bet you
> should use "0:1:128:182" instead of "TEXT:1:128:182" if your related
> entry in storage.conf is class 0.

 Ohhhh!  Indeed! You are soo right and I had it absolutely incorrectly set!
(By your help), I understand better now and have set the class to the actual 
'class' numbers rather than the incorrect name listed for 'Options' in my 
storage.conf.

>      http://www.eyrie.org/~eagle/software/inn/docs/install.html

 I know I have 4 crons set running as news user. I will go check out the 
above link right now.

 Thank You for your help and I hope Your Day Is Going Fantastic :-)

 Paul



Julien ÉLIE wrote:

> Hi Paul,
> 
>> TEXT:1:128:182
>> BINARY:1:7:35
>>
>>   Still wondering if allowed BOTH lines?
> 
> The first part of an expire.ctl entry when groupbaseexpiry is set to
> false is a storage class, and not the name of a buffer.  I bet you
> should use "0:1:128:182" instead of "TEXT:1:128:182" if your related
> entry in storage.conf is class 0.
> Same thing for BINARY, with another class number.
> You should list all the class numbers you have in your storage.conf file.
> 
> 
>> So, I now know that I have to run expireover through a cron job, as news
>> user.
> 
> Maybe you should have a look at INSTALL to see other things you should
> parameter:
>      http://www.eyrie.org/~eagle/software/inn/docs/install.html
> 
> The cron jobs are detailed in the "Setting Up the Cron Jobs" section.
> 
Re: buffindexed.conf
#86274
Author: Julien ÉLIE
Date: Mon, 09 Jun 2014 12:17
30 lines
2530 bytes
Hi Paul,

>> I bet you
>> should use "0:1:128:182" instead of "TEXT:1:128:182" if your related
>> entry in storage.conf is class 0.
>
>   Ohhhh!  Indeed! You are soo right and I had it absolutely incorrectly set!
> (By your help), I understand better now and have set the class to the actual
> 'class' numbers rather than the incorrect name listed for 'Options' in my
> storage.conf.

Incidentally, I believe that you would have been aware of this syntax 
error if you had run "inncheck".  I see that inncheck outputs "malformed 
line" if the first argument is not a number when groupbaseexpiry is set 
to false.

Maybe your Usenet daily reports also gave you a warning for that when 
expireover was run.  (I have not verified.)



> Thank You for your help and I hope Your Day Is Going Fantastic :-)

Yep, a sunny bank holiday today (Whit Monday).
I wish you the same.

-- 
Julien ÉLIE

« Tant qu'il y a des marmites, il y a de l'espoir ! » (Astérix)
Re: buffindexed.conf
#86275
Author: Anonymous
Date: Mon, 09 Jun 2014 14:21
49 lines
2740 bytes
 Hi Julien.

 It's really cool with all the tools that Inn already comes with.

 Between all of the Man's, the Examples and check configs, status tools and 
All of it, It's REALLY FUN!  :-)

  The ./bin/inncheck pulled out 3 errors (in two different configs) I was 
able to simply correct as for the inncheck even pointed to the exact line 
and areas of my errors.

 This ROCKS!

 Thanks again for sharing your wisdom!  :-)

 Paul


Julien ÉLIE wrote:

> Hi Paul,
> 
>>> I bet you
>>> should use "0:1:128:182" instead of "TEXT:1:128:182" if your related
>>> entry in storage.conf is class 0.
>>
>>   Ohhhh!  Indeed! You are soo right and I had it absolutely incorrectly
>>   set!
>> (By your help), I understand better now and have set the class to the
>> actual 'class' numbers rather than the incorrect name listed for
>> 'Options' in my storage.conf.
> 
> Incidentally, I believe that you would have been aware of this syntax
> error if you had run "inncheck".  I see that inncheck outputs "malformed
> line" if the first argument is not a number when groupbaseexpiry is set
> to false.
> 
> Maybe your Usenet daily reports also gave you a warning for that when
> expireover was run.  (I have not verified.)
> 
> 
> 
>> Thank You for your help and I hope Your Day Is Going Fantastic :-)
> 
> Yep, a sunny bank holiday today (Whit Monday).
> I wish you the same.
> 
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