Article View: news.software.nntp
Article #41077Re: Typhoon 1.2.2 -- Shrinking a spool object?
From: Mike Merideth
Date: Sat, 23 Oct 1999 00:00
Date: Sat, 23 Oct 1999 00:00
72 lines
3770 bytes
3770 bytes
Thanks to all who replied. I used the second method, for those who are
wondering, and it's working fine, of course. One thing I've noticed
about Typhoon is that the i/o performance is much better with small
spool objects spread across multiple disks than with large spool objects
on a RAID 5 array (hardware).
Mike Merideth
Mike Sabbota wrote:
>
> 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
--
Michael Merideth -- Sr. System Administrator
RMI.NET, http://www.rmi.net
merideth@rmi.net
Technical Details
Message-ID:
<38126BAD.90D3B649@rmi.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3808131A.6614774E@rmi.net> <380A1FE8.93583F14@bcandid.com>Show Full Headers
Complete Article Headers
Message-ID: <38126BAD.90D3B649@rmi.net> Subject: Re: Typhoon 1.2.2 -- Shrinking a spool object? Date: Sat, 23 Oct 1999 00:00:00 +0000 From: Mike Merideth <merideth@rmi.net> References: <3808131A.6614774E@rmi.net> <380A1FE8.93583F14@bcandid.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 539821062 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@rmi.net X-Trace: den-news1.rmi.net 940731173 204.56.32.181 (Sat, 23 Oct 1999 20:12:53 MDT) Organization: RMI.NET MIME-Version: 1.0 NNTP-Posting-Date: Sat, 23 Oct 1999 20:12:53 MDT Newsgroups: news.software.nntp