🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Oliver Fromme Wed, 14 Jun 2000 00:00
Expire Overviews? (INN 2.2, CNFS)
#46912
Author: Oliver Fromme
Date: Wed, 14 Jun 2000 00:00
21 lines
1506 bytes
Hi,

Is there a way to expire articles from the overviews database
(based on their age), even though they're still in the spool?

We're using INN 2.2 (to be exact: inn-STABLE_2_2-1999-12-26)
with CNFS.  We have ``/remember/:14'' in expire.ctl and
``artcutoff: 14'' in inn.conf, but that doesn't seem to be
related to overviews expiration.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem St�ck Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)

Re: Expire Overviews? (INN 2.2, CNFS)
#46914
Author: Brian Edmonds
Date: Wed, 14 Jun 2000 00:00
28 lines
1908 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russ Allbery <rra@stanford.edu> writes:
> It's harder than adding cycbuffs, but I'm pretty sure the above should
> work.

Yep, I've dropped cycbuffs from metas too, and it worked fine.  As Russ
said, remove it from the meta, give it a week or two for the data to be
considered stale, then zero it out.  Give it a few days so its contents
are considered expired, then assign it elsewhere or delete it.

I tend to build smallish systems, so I'll generally use smallish
cycbuffs and assign a bunch of them to the metas, so I can roughly
resize each storage class if needed.

Brian.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE5SBj0cCEFQUX5+OwRArKAAKDehCwkf0M5FqjuQWj6/HxuvOnAZQCeOB/c
EChiFZiIz5bXX6Mk4aACTSE=
=FNUA
-----END PGP SIGNATURE-----

Re: Expire Overviews? (INN 2.2, CNFS)
#46916
Author: Chuq Von Rospach
Date: Wed, 14 Jun 2000 00:00
10 lines
1083 bytes
In article <ylem601208.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

>I'd personally be more inclined to shrink your metacycbuffs until the
>roll-over time is about right for your overview storage space, though.
>Cleaner and easier to maintain.

what's the cleanest way to do this?

Re: Expire Overviews? (INN 2.2, CNFS)
#46918
Author: Russ Allbery
Date: Wed, 14 Jun 2000 00:00
20 lines
1506 bytes
Oliver Fromme <olli@klickibunti.org> writes:

> Is there a way to expire articles from the overviews database (based on
> their age), even though they're still in the spool?

It is possible to explicitly expire CNFS.  I think it's possible under 2.2
by using the class-based expire directives in expire.ctl, but I'm not
positive, not having tried it.  (I know it's possible with group-based
expire in 2.3.)  You generally don't want to do that, but it can solve
this particular problem if your overview space isn't large enough for the
size of your cycbuffs.

I'd personally be more inclined to shrink your metacycbuffs until the
roll-over time is about right for your overview storage space, though.
Cleaner and easier to maintain.

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

Re: Expire Overviews? (INN 2.2, CNFS)
#46919
Author: Russ Allbery
Date: Wed, 14 Jun 2000 00:00
26 lines
1823 bytes
Chuq Von Rospach <chuq@apple.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> I'd personally be more inclined to shrink your metacycbuffs until the
>> roll-over time is about right for your overview storage space, though.
>> Cleaner and easier to maintain.

> what's the cleanest way to do this?

Drop that cycbuff from your metacycbuff and restart INN.  New articles
will no longer be written into it.  After some time (so that new articles
in that cycbuff don't disappear immediately), I'm pretty sure you can then
shutdown INN, zero the cycbuff (such as with dd), and restart INN and the
next time expire runs it will notice that all of those articles are no
longer accessible and remove their overview and history information.

It's harder than adding cycbuffs, but I'm pretty sure the above should
work.

Before doing this, you may want to wait for someone else to check me on
this, though, since this is another operation I've not personally done.

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

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