🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Karsten Thygesen Fri, 24 Aug 2001 05:31
how to expire cancel messages faster?
#53994
Author: Karsten Thygesen
Date: Fri, 24 Aug 2001 05:31
54 lines
2009 bytes
Hi

I use INN-2.3.2 with only cnfs spools.

My overview database is growing far far to fast and I think, that one
of the reasons is that cancel messages is filling up. I have 3 90Gb
spools for messages <10000 bytes, so there is a very nice long expire
time on those spools, but this is also where the many cancel messages
is stored.

I tried to make a smaler spool (named CONTROL, size 10Mb) for cancel
messages only, but I can't figure out how to filter them in
storage.conf. My attempt is:

method cnfs {
        newsgroups: control.*
        class: 5
        options: CONTROL
}

method cnfs {
        newsgroups: dk.*,sonofon.*
        size: 0,9999
        class: 1
        options: LOCAL
}

method cnfs {
        newsgroups: comp.*,gnu.*,news.*,misc.*,soc.*,rec.*,talk.*,sci.*
        size: 0,9999
        class: 2
        options: BIG8
}

method cnfs {
        newsgroups: *
        size: 0,9999
        class: 3
        options: SMALL
}

method cnfs {
        newsgroups: *
        class: 4
        options: BIG
}

But cancel messages is not store in the CONTROL spool...

Any suggestions?

Karsten
Re: how to expire cancel messages faster?
#53996
Author: Russ Allbery
Date: Fri, 24 Aug 2001 09:16
27 lines
1962 bytes
Karsten Thygesen <karthy@sonofon.dk> writes:

> My overview database is growing far far to fast and I think, that one of
> the reasons is that cancel messages is filling up. I have 3 90Gb spools
> for messages <10000 bytes, so there is a very nice long expire time on
> those spools, but this is also where the many cancel messages is stored.

> I tried to make a smaler spool (named CONTROL, size 10Mb) for cancel
> messages only, but I can't figure out how to filter them in
> storage.conf. My attempt is:

> method cnfs {
>         newsgroups: control.*
>         class: 5
>         options: CONTROL
> }

Set storeonxref to true in inn.conf to make this work the way that you
want.  You probably don't want to do this with all control messages,
incidentally, just with cancels (so filter on control.cancel).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: how to expire cancel messages faster?
#53997
Author: Karsten Thygesen
Date: Fri, 24 Aug 2001 11:43
12 lines
1263 bytes
Russ Allbery <rra@stanford.edu> writes:

> Set storeonxref to true in inn.conf to make this work the way that you
> want.  You probably don't want to do this with all control messages,
> incidentally, just with cancels (so filter on control.cancel).

Russ, you are the best!

Thanks! Works just fine now!

Karsten
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