🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by lvirden Fri, 26 Feb 1999 00:00
inn expire question
#35661
Author: lvirden
Date: Fri, 26 Feb 1999 00:00
17 lines
1349 bytes
I am a new usenet admin trying to get a handle on a setup installed by
someone else ...

The first thing I have noticed is that for some reason, if expire fails
to run on a particular day, the articles that normally would have
been expired on that day never expire on subsequent expire runs.

Is there some flag or setting or environment variable I need to set to
tell expire that it should expire anything of a certain age or older?
-- 
<URL: mailto:lvirden@cas.org> Quote: Saving the world before bedtime.
<*> O- <URL: http://www.purl.org/NET/lvirden/>
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

Re: inn expire question
#35697
Author: Brad Knowles
Date: Mon, 01 Mar 1999 00:00
21 lines
1700 bytes
In article <7b6hjk$oe4$1@srv38s4u.cas.org>, lvirden@cas.org wrote:

> The first thing I have noticed is that for some reason, if expire fails
> to run on a particular day, the articles that normally would have
> been expired on that day never expire on subsequent expire runs.
> 
> Is there some flag or setting or environment variable I need to set to
> tell expire that it should expire anything of a certain age or older?

    If you ever find out the answer, please let me know.  I've run into
this one myself, and haven't yet been able to figure out what I can do
about it, short of a simple `find /usr/local/news/spool/articles -mtime +7
-print | fastrm`.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: inn expire question
#35705
Author: Dave Barr
Date: Mon, 01 Mar 1999 00:00
30 lines
1741 bytes
In article <7b6hjk$oe4$1@srv38s4u.cas.org>,  <lvirden@cas.org> wrote:
>I am a new usenet admin trying to get a handle on a setup installed by
>someone else ...
>
>The first thing I have noticed is that for some reason, if expire fails
>to run on a particular day, the articles that normally would have
>been expired on that day never expire on subsequent expire runs.

This is the classic case of orphaned articles (articles which are
in the spool, but not in the history database).  expire will never
expire then because it doesn't know they exist.

Orphaning is usually caused by system crashes (when the history
database doesn't get some of its entries flushed to disk), or if
someone/thing goofed when a newslib disk filled up and used the
incomplete 'new' history files instead of the old ones, or if the
expirerm stage blew up (this used to be often caused if /var/tmp filled
up during the 'sort' stage).

The answer is to run 'findmissing' regularly.  It will find the missing
files, which you can feed to fastrm.

http://www.cis.ohio-state.edu/~barr/INN.html

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Re: inn expire question
#35716
Author: Jeremy
Date: Mon, 01 Mar 1999 00:00
19 lines
1387 bytes
Brad Knowles <brad@shub-internet.org> wrote:

>> Is there some flag or setting or environment variable I need to set to
>> tell expire that it should expire anything of a certain age or older?
> 
> If you ever find out the answer, please let me know.  I've run into
> this one myself, and haven't yet been able to figure out what I can do
> about it, short of a simple `find /usr/local/news/spool/articles -mtime
> +7 -print | fastrm`.

I use 'newsprune', which can be had at http://www.backplane.com/news/

It removes articles which are no longer in the history file.

-- 
Jeremy  |  jeremy@exit109.com
Cleanfeed spam filter - http://www.exit109.com/~jeremy/news/cleanfeed.html

Re: inn expire question
#35727
Author: Fluffy
Date: Tue, 02 Mar 1999 00:00
20 lines
1690 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <slrn7dlo3t.a4.niels@liquid.tpb.net>, niels@usenet.bakker.net
> (Niels Bakker - Non PGP encrypted email deleted automatically.) wrote:
> > I think INN comes with `findmissing.pl' that automates the above
> > process, though - but it could be one of Fluffy's.

Nope, not mine.  Author is Harry Bochner.
 
>     I don't see that tool in my /usr/local/news/bin, although now
> that you mention it, I do vaguely recall having heard of it before.

In the 1.7 and 2.x distributions, you'll find it in the contrib
directory.

-- 
When good people do bad things:
 <URL:http://www.mp3.com/music/Alternative/8446.html>
  (fake address in the download box will work fine)

Re: inn expire question
#35730
Author: Brad Knowles
Date: Tue, 02 Mar 1999 00:00
20 lines
1463 bytes
In article <7bf0lu$jhb$1@east44.supernews.com>, Jeremy
<jeremy@exit109.com> wrote:

> I use 'newsprune', which can be had at http://www.backplane.com/news/
> 
> It removes articles which are no longer in the history file.

   That appears to be just what I needed.  Running the first session now,
and we'll see what it generates.


    Thanks!

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: inn expire question
#35751
Author: Brad Knowles
Date: Tue, 02 Mar 1999 00:00
35 lines
2528 bytes
In article <slrn7dlo3t.a4.niels@liquid.tpb.net>, niels@usenet.bakker.net
(Niels Bakker - Non PGP encrypted email deleted automatically.) wrote:

> Since expire's starting point is the history, old files aren't removed - who's
> to say they are news articles anyway?  I think INN comes with `findmissing.pl'
> that automates the above process, though - but it could be one of Fluffy's.

    I don't see that tool in my /usr/local/news/bin, although now that you
mention it, I do vaguely recall having heard of it before.

> If an expire run got interrupted you may find /var/log/news/expire.rm.<pid>
> holding more files to be removed, and you can pipe this through fastrm as
> well.  The overview will be updated the next time around.

    If there was an /var/log/news/expire.rm.<pid>, it has since been removed.

> >         If you wouldn't take out a one-page ad in the Wall Street
> >         Journal to say something, then don't say it by email.
> 
> Then why both send email and post here?  Especially considering my From:.

    Sorry, that was semi-automatic -- I didn't see that note in your
"From:" header until after I had sent the message.

    Besides, as I recall, I got a bounce message with the error "MX loops
back to me" or somesuch, and I didn't think that you would have seen it at
all, and therefore I didn't feel that I needed to comment on that fact.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

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