🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Vince Nigro -- Remove X from ema... Tue, 19 Oct 1999 00:00
Re: Typhoon 1.2.2 -- Shrinking a spool object?
#40928
Author: Vince Nigro -- Remove X from ema...
Date: Tue, 19 Oct 1999 00:00
87 lines
3333 bytes
mike@bcandid.com (Mike Sabbota) wrote in 
<380A1FE8.93583F14@bcandid.com>:

>Mike,
>  There are two ways to do this, the method you choose depends on 
your
>amount of diskspace.
>
>Method 1:
>
>       Adjust the KiloBytes directive for the spool object to the 
desired
>size.  Any spool object in Typhoon greater than 2GB is broken into 
series
>of 2GB files.  Just delete the extra files until you reach the size 
you
>want.  The major caveat of this method is that lopping off the end 
of the
>spool file does not gurantee that you will be deleting the oldest
>article(s) in your spool.  This could easily put holes in your 
spool.  It
>may disappear quickly depending on your total amount of spool space.
>
>Method 2:
>
>    Create a new spool object of the desired size.  Set the
>FilterSubscription to * on your old spool object.  Let your machine 
run for
>a while.  After many of the articles in your old spool object hit 
the
>average retention times for your server (ie, two weeks old, etc), 
delete
>the spool object, and remove it from your typhoon.conf.  This will 
avoid
>creating article holes in your groups.  If you decide to re-create 
the
>spool object of a different size, change the SpoolNumber directive.  
You
>can also just modify the size using Method 1, and uncomment your
>filtersubscription.
>
>One last note, if you're truncating spool objects, ALWAYS do this 
from the
>back.  Truncating from the front will destroy your spool indexes.
>
>Cheers,
>--Mike
>
>
>Mike Merideth wrote:
>
>> Does anyone know of a sane way to reduce the size of a spool 
object
>> under Typhoon?  When I reduced the size of a couple of spool 
objects in
>> typhoon.conf, the logs gave a messages alluding to "unused" space 
in my
>> spool objects, and now it seems to be happily chugging along, 
using the
>> same amount of disk space as it was before (for the record, I 
reduced a
>> 17GB object and a 18GB object to 16GB apiece).
>>
>> I guess I could delete all of the spool files and let Typhoon 
rebuild
>> them from scratch, but my user community would kill me (and 
rightly so)
>> if I blew away all of the articles in the spool.
>>
>> Will the spool files eventually sort themselves out as articles 
expire?
>> I kinda doubt it.
>>
>> I realize this is a bit obscure, so if you like, just respond via 
email
>> and if the rest of you are interested I can post the results.
>>
>> Thanks,
>>
>> Mike
>
test
test
>


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