🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38966

Re: expire and CNFS - inn-2.2

#38966
From: Michael Famin
Date: Thu, 05 Aug 1999 00:00
82 lines
3806 bytes

Russ Allbery wrote:

> Michael Famin <mifam@wmdata.com> writes:
>
> > I'm setting up a new nntpserver (Solaris x86 2.7, inn-2.2) and have some
> > problems with articles expiring.  I have storageapi on, and is using
> > CNFS, and when news.daily runs at 03:00 AM it expires all my articles.
>
> Er, that's not good.  news.daily should never expire anything except
> overview if you're using CNFS; CNFS has self-expire ability.  What flags
> are you using to news.daily?
>

From my crontab:
0 3 * * * /opt/news/bin/news.daily expireover lowmark

>
> > I had in expire.ctl the following line:
> > *:A:1:21:never
> > Then all articles disapeared every night.
>
> expire.ctl should be ignored completely for CNFS storage classes (apart
> from the /remember/ line), or at least that's the way I understood it.
> I'm not completely sure how it works with overview, though.
>

This is from the manpage for expire.ctl:
If you have turned on the storage manager with the ``storageapi'' in inn.conf
(5)
option and you don't the use -c' option with expire, or if overview data for
the
article is not created, then you will need to use a slightly different format
for
specifying expiration times for storage classes:
classnum:keep:default:purge

This is what I tried, but I see now that expire does run with the -c flag, so
I guess
I should use the normal syntax, like: *:A:1:21:never

>
> > The I'm seeing more articles in my reader, but I cannot read then since
> > I get "Bad article number, maybe the article has expired" from the
> > server.
>
> This sounds like the actual article is getting expired, though, not just
> the overview entry.
>

The thing with the "Bad article number" could come from me trying running
expire manually...

The thing is, that on the previos box, that was running Linux with inn-2.1, I
had the same config, and that worked OK. A difference between 2.1 and 2.2 is
that you have a storage.conf instead of a storage.ctl, and you can specify
some expire parameters in that file now as well.

I can not say that I'm too familiar with how inn works (this is just the
second server I configure) especially how the active and the overview works,
but I think that I might have some problems there, since my reader reports
that I have more articles in a group than I actually can see. I guess that the
figure telling me how many articles I have comes from the active file, and the
article headers are from the overview? But how is the active file updated
then, should it not be updated from the overview? Or should not the overview
have all the articles that the active file tells me that are stored?

The problem might be that the overindex removes my old articles from the
overview?

I'm getting more and more confused now, and I think that I have to start to
reread the documentation on how everything fits together...

Rgds,
Micke Famin
WM-data
mifam@wmdata.com



Technical Details
Message-ID: <37AA081F.133247E5@wmdata.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
References: <37A97B63.4C9BC7C0@wmdata.com> <yln1w6dw1z.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <37AA081F.133247E5@wmdata.com>
Subject: Re: expire and CNFS - inn-2.2
Date: Thu, 05 Aug 1999 00:00:00 +0000
From: Michael Famin <mifam@wmdata.com>
References: <37A97B63.4C9BC7C0@wmdata.com> <yln1w6dw1z.fsf@windlord.stanford.edu>
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: 509343714
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@algo.net
X-Trace: cubacola.tninet.se 933889972 14325 195.100.251.128 (5 Aug 1999 21:52:52 GMT)
Organization: WM-data
Mime-Version: 1.0
NNTP-Posting-Date: 5 Aug 1999 21:52:52 GMT
Newsgroups: news.software.nntp