🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Aivo Kalu Thu, 02 Dec 1999 00:00
CNFS is using only 1 percent of storage
#41915
Author: Aivo Kalu
Date: Thu, 02 Dec 1999 00:00
76 lines
2787 bytes
Hello, 

I'm sorry, if that's a FAQ questoin, but at least I tried to find an
answer for it :-). I'm running Inn 2.2.1 and FreeBSD 3.3-STABLE

In short, my cycbuffs are filled only in 1 per cent. The cycbuff.conf is
the following: 

cycbuff:big1:/news/cycbuffs/big1:512000
cycbuff:big2:/news/cycbuffs/big2:512000
cycbuff:big3:/news/cycbuffs/big3:512000
cycbuff:big4:/news/cycbuffs/big4:512000
#cycbuff:big5:/news/cycbuffs/big5:512000
cycbuff:small1:/news/cycbuffs/small1:51200
cycbuff:small2:/news/cycbuffs/small2:51200
cycbuff:small3:/news/cycbuffs/small3:51200
cycbuff:small4:/news/cycbuffs/small4:51200
cycbuff:small5:/news/cycbuffs/small5:51200
cycbuff:small6:/news/cycbuffs/small6:51200
cycbuff:small7:/news/cycbuffs/small7:51200
cycbuff:small8:/news/cycbuffs/small8:51200
cycbuff:small9:/news/cycbuffs/small9:51200
cycbuff:small10:/news/cycbuffs/small10:51200

metacycbuff:Alt:big1
metacycbuff:Common:big2,big3
metacycbuff:Estonia:small1,small2,small3,small4,small5,small6,small7,small8,big4
metacycbuff:Viljandi:small9,small10

and the storage.conf is following:

method cnfs {
        newsgroups: alt.*
        class: 1
        options: Alt
        expires: 0s,40d
}
method cnfs {
        newsgroups: ee.viljandi*
        class: 2
        options: Viljandi
        expires: 0s,40d
}
method cnfs {
        newsgroups: ee.*
        class: 3
        options: Estonia
        expires: 0s,40d
}
method cnfs {
        newsgroups: *
        class: 4
        options: Common
        expires: 0s,40d
}

I have been tring to increase the keeping time for the groups, making
the expire.conf look like following:

/remember/:14
*:A:1:50:never
1:1:2:3
2:30:60:365
3:30:60:120
4:10:15:20

But ... no effect so far. The buffs are keeping the constant amount of
data over time, neverthless that the newsfeeds are coming in. Perhaps
someone could point me to a correct manual or point out, what I have
done wrong. 


Thank you in advance, 
Aivo Kalu, aivo@vm.ee

Re: CNFS is using only 1 percent of storage
#41923
Author: Antony Chan
Date: Fri, 03 Dec 1999 00:00
92 lines
3503 bytes
I suppose you meant expire.ctl instead of expire.conf.

The man page of expire.ctl mentions that only the "remember" line is
used/referred if CNFS is used. Therefore, you can't control expiry
directly. 

An indirectly way, IMHO, is to adjust the allocation, i.e. newsgroups 
with shorter expiry period to smaller metacycbuff & vice versa.

(Dear all, please correct me if I am wrong.)

Antony

=======================================================================

Aivo Kalu wrote:
> 
> Hello,
> 
> I'm sorry, if that's a FAQ questoin, but at least I tried to find an
> answer for it :-). I'm running Inn 2.2.1 and FreeBSD 3.3-STABLE
> 
> In short, my cycbuffs are filled only in 1 per cent. The cycbuff.conf is
> the following:
> 
> cycbuff:big1:/news/cycbuffs/big1:512000
> cycbuff:big2:/news/cycbuffs/big2:512000
> cycbuff:big3:/news/cycbuffs/big3:512000
> cycbuff:big4:/news/cycbuffs/big4:512000
> #cycbuff:big5:/news/cycbuffs/big5:512000
> cycbuff:small1:/news/cycbuffs/small1:51200
> cycbuff:small2:/news/cycbuffs/small2:51200
> cycbuff:small3:/news/cycbuffs/small3:51200
> cycbuff:small4:/news/cycbuffs/small4:51200
> cycbuff:small5:/news/cycbuffs/small5:51200
> cycbuff:small6:/news/cycbuffs/small6:51200
> cycbuff:small7:/news/cycbuffs/small7:51200
> cycbuff:small8:/news/cycbuffs/small8:51200
> cycbuff:small9:/news/cycbuffs/small9:51200
> cycbuff:small10:/news/cycbuffs/small10:51200
> 
> metacycbuff:Alt:big1
> metacycbuff:Common:big2,big3
> metacycbuff:Estonia:small1,small2,small3,small4,small5,small6,small7,small8,big4
> metacycbuff:Viljandi:small9,small10
> 
> and the storage.conf is following:
> 
> method cnfs {
>         newsgroups: alt.*
>         class: 1
>         options: Alt
>         expires: 0s,40d
> }
> method cnfs {
>         newsgroups: ee.viljandi*
>         class: 2
>         options: Viljandi
>         expires: 0s,40d
> }
> method cnfs {
>         newsgroups: ee.*
>         class: 3
>         options: Estonia
>         expires: 0s,40d
> }
> method cnfs {
>         newsgroups: *
>         class: 4
>         options: Common
>         expires: 0s,40d
> }
> 
> I have been tring to increase the keeping time for the groups, making
> the expire.conf look like following:
> 
> /remember/:14
> *:A:1:50:never
> 1:1:2:3
> 2:30:60:365
> 3:30:60:120
> 4:10:15:20
> 
> But ... no effect so far. The buffs are keeping the constant amount of
> data over time, neverthless that the newsfeeds are coming in. Perhaps
> someone could point me to a correct manual or point out, what I have
> done wrong.
> 
> Thank you in advance,
> Aivo Kalu, aivo@vm.ee

Re: CNFS is using only 1 percent of storage
#41925
Author: Olafur Osvaldsson
Date: Fri, 03 Dec 1999 00:00
31 lines
1633 bytes
If I'm not mistaken the expire.ctl man page the only setting neccesary to
use with self-expiring (such as CNFS), storage methods is /remember/, but
don't you need the others to expire the history?

				Oli

On 02 Dec 1999 18:45:33 -0800, Russ Allbery <rra@stanford.edu> wrote:
>Aivo Kalu <aivo@vm.ee> writes:
>
>> In short, my cycbuffs are filled only in 1 per cent.
>
>What's telling you that?
>
>> I have been tring to increase the keeping time for the groups, making
>> the expire.conf look like following:
>
>Except for /remember/, a 2.2 server using CNFS ignores expire.ctl
>entirely.
>
>-- 
>Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


-- 
Olafur Osvaldsson
System Administrator
Internet Iceland inc.
Tel:   +354 525-5291
Email: oli@isnet.is

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