🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Richard Stromberg Mon, 25 Nov 1996 00:00
Expire not expiring ALL old news
#12652
Author: Richard Stromberg
Date: Mon, 25 Nov 1996 00:00
35 lines
1848 bytes
To All,
	I've been having a recent problem with my news server not expiring as
strictly as I would like.  I go to look at a directory, and the date of
the article, and the date of the file are both well beyond what expire
is set to delete for.  Upon occasion, I have searched the history file
by article ID for one of these random articles and it is not present. 
Why would expire not pick up these old articles?  I've got expire.ctl
set ridiculously low but even then, the news partition fills up.  Some
pertinent system specs appear below.  I've searched all over dejanews
but cannot find anything relating to this particular problem.
Any help and/or pointers would be greatly appreciated.

innd1.4sec running on a SS20 with Solaris2.5
The spool partition is a concatenation using DiskSuite.
Expire.Ctl

>/remember/:15
>
>##  Keep for 1-10 days, allow Expires headers to work.
>#*:A:1:10:never
>*:A:4:4:5
>alt.test:A:1:1:2
>alt.warez.*,alt.binaries.games,alt.binaries.misc:A:1:1:2
>alt.sex*:A:1:1:2
>alt.binaries*:A:1:1:2

If you need to know anything else let me know.  I've man'ed all I can
man but am not sure what procedure will achieve the results I am looking
for.


Richard Stromberg

Re: Expire not expiring ALL old news
#12645
Author: Todd D. Taft
Date: Mon, 25 Nov 1996 00:00
26 lines
1905 bytes
In article <3299CB83.7949@waymark.net>,
Richard Stromberg  <rick@waymark.net> wrote:
>To All,
>	I've been having a recent problem with my news server not expiring as
>strictly as I would like.  I go to look at a directory, and the date of
>the article, and the date of the file are both well beyond what expire
>is set to delete for.  Upon occasion, I have searched the history file
>by article ID for one of these random articles and it is not present. 

Expire decides what articles to remove based upon what it finds in the
history database.  Normally, this works just fine.  Unfortunately, if
your news server crashes or is rebooted while expire is running, this
can mean that the article is removed from the history db, but not from
the news spool.  So, you'll end up with files in your news spool that
never get removed.  What you'll need to do is run a program like
findmissing.pl (available from http://www.math.psu.edu/barr/INN.html)
which lists articles that are still in your news spool and not in your
history db and pipe its output to fastrm, which will delete all these
old files.  If this isn't in the INN FAQ, it should be....
-- 
Todd D. Taft                              taft@cs.unc.edu
WWW: http://www.cs.unc.edu/~taft/         todd_taft@unc.edu
U.N.C. Department of Computer Science Facilities Staff

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