🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Butch Kemper Sat, 16 Aug 1997 00:00
ANN: Newspool-clean V1.0b6
#20575
Author: Butch Kemper
Date: Sat, 16 Aug 1997 00:00
23 lines
1322 bytes

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.

I run the job from Cron on the first of each month.  I schedule it to start
about 30 minutes after the normal ending time for news.daily.

Please let me know if you discover any problems.

Butch

-- 
Butch Kemper                         |  Free sound advice available
Brazos Internet Consulting Group     |  "95% sound and 5% advice"
409-361-2324                         |  Refunds cheerfully provided

Re: ANN: Newspool-clean V1.0b6
#20652
Author: Butch Kemper
Date: Tue, 19 Aug 1997 00:00
38 lines
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

Re: ANN: Newspool-clean V1.0b6
#20660
Author: Alexis Rosen
Date: Tue, 19 Aug 1997 00:00
20 lines
1419 bytes
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...

/a

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