🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39432

Re: expire and CNFS - inn-2.2

#39432
From: paul
Date: Wed, 25 Aug 1999 00:00
119 lines
5152 bytes
In article <ylg118py1m.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Not sure if this ever was resolved; I still had it marked to come back
to
> at some point.
>
> Michael Famin <mifam@wmdata.com> writes:
> > Russ Allbery wrote:
>
> >> 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
>
> Yes, but that's primarily for timehash or timecaf storage formats (or
> tradspool under the storage API).  CNFS has self-expire functionality,
> which means that expire isn't supposed to touch it.  It should remove
from
> the overview files all entries for articles that have expired, but
that's
> separate from the actual article expiry part, I thought.
>
> > 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
>
> With CNFS, it shouldn't make any difference what format you use.  It
just
> shouldn't be looking at this at all.
>
> > 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.
>
> In storage.conf?  Those aren't for article expiration; those are to
store
> articles on the basis of the Expires: header, which is something that
you
> probably don't want to do.
>
> > 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.
>
> This is relatively normal for CNFS.  The problem is that the overview
> files are only rebuilt nightly, whereas the articles are expiring
> constantly as the buffer fills and overwrites earlier articles.  You
may
> be able to get rid of some of the effects of this, at the cost of
reader
> performance, by setting nnrpdcheckart to true in inn.conf, but I'm not
> sure if that catches all of it.
>
> > 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?
>
> Right.
>
> > But how is the active file updated then, should it not be updated
from
> > the overview?
>
> The active file is updated internally by INN.  I'm not familiar enough
> with that code to know if lowmark is updated automatically for CNFS,
but
> my guess is that it isn't, and that too is only done nightly.
>
> > Or should not the overview have all the articles that the active
file
> > tells me that are stored?
>
> My guess is that the overview and the active file are in sync, but
neither
> are in sync with the actual contents of the cycbuffs.
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>

Me too i have that problem.
running news.daily expireover lowmark seems to work but not that great
My INN freeked out a couple days ago cuz i ran out of space on the
partition where overview was. It was badly out of sync and got too huge.
Had to reinstall it cuz it got  too messy.

Now my question is: is there a clean way to do it so the overview
and the content of the buffers are in sync?

How does expireover or expireindex know about what headers are to be
removed and what headers are to be kept since it dont seem to be looking
in expire.ctl
Does it know about the content of cycbuffers ?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Technical Details
Message-ID: <7pvlpj$vt1$1@nnrp1.deja.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> <37AA081F.133247E5@wmdata.com> <ylg118py1m.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <7pvlpj$vt1$1@nnrp1.deja.com>
Subject: Re: expire and CNFS - inn-2.2
Date: Wed, 25 Aug 1999 00:00:00 +0000
From: paul@colba.net
References: <37A97B63.4C9BC7C0@wmdata.com> <yln1w6dw1z.fsf@windlord.stanford.edu> <37AA081F.133247E5@wmdata.com> <ylg118py1m.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: 516826297
X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 207.107.152.243
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Wed Aug 25 02:52:39 1999 GMT
X-MyDeja-Info: XMYDJUIDpaul_kh
Newsgroups: news.software.nntp
X-Http-User-Agent: Mozilla/4.6 [en] (X11; I; FreeBSD 3.2-RELEASE i386)