Article View: news.software.nntp
Article #20652Re: ANN: Newspool-clean V1.0b6
From: Butch Kemper
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
38 lines
2352 bytes
2352 bytes
In article <5tbr2h$d80@panix4.panix.com>, alexis@panix.com (Alexis Rosen) wrote:
> kemper@bihs.net (Butch Kemper) writes:
> >The first public beta version of newspool-clean is now available for
> >download at ftp://ftp.bihs.net/pub/inn/newspool-clean.pl-v1.0b6.
>
> >Newspool-clean searches the INN Spool to purge old directories for deleted
> >newsgroups, bad symbolic links, articles lost from the history file, and
> >non-article files. The program creates rmdir and rm commands which can be
> >used as input to sh.
>
> Since this is most likely to be useful after a major problem (though
> grooming once a month is nice), it would be a good idea to make this
> maximally efficient, to the extent that you can do so easily. One way
> to do so would be to use fastrm. If you don't want to touch the guts of
> the code, just egrep out the "rm"s from the "rmdirs", sort them, and send
> them off to fastrm...
That is an interesting idea. However, these points come to mind:
My experience has shown that if the news spool is kept in a tidy
condition, the number of files that are to be deleted is relatively
few even if the news system crashes several times during the month.
Only the very first time will there be a large number of files.
Fastrm works very quickly when there are larger numbers of files to
delete and the files are clustered in the same directory. This is
not the normal case for cleaning the news spool.
Butch
--
Butch Kemper | Free sound advice available
Brazos Internet Consulting Group | "95% sound and 5% advice"
409-361-2324 | Refunds cheerfully provided
Technical Details
Message-ID:
<kemper-ya02408000R1908970718150001@news.bihs.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:
<kemper-ya02408000R1608972056110001@news.bihs.net> <5tbr2h$d80@panix4.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <kemper-ya02408000R1908970718150001@news.bihs.net> Subject: Re: ANN: Newspool-clean V1.0b6 Date: Tue, 19 Aug 1997 00:00:00 +0000 From: kemper@bihs.net (Butch Kemper) References: <kemper-ya02408000R1608972056110001@news.bihs.net> <5tbr2h$d80@panix4.panix.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: 265235365 Distribution: inet Organization: Brazos Internet Consulting Group Newsgroups: news.software.nntp