Article View: news.software.nntp
Article #39383Re: expire and CNFS - inn-2.2
From: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
Date: Tue, 24 Aug 1999 00:00
73 lines
3921 bytes
3921 bytes
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/>
Technical Details
Message-ID:
<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-mailReferences:
<37A97B63.4C9BC7C0@wmdata.com> <yln1w6dw1z.fsf@windlord.stanford.edu> <37AA081F.133247E5@wmdata.com>Show Full Headers
Complete Article Headers
Message-ID: <ylg118py1m.fsf@windlord.stanford.edu> Subject: Re: expire and CNFS - inn-2.2 Date: Tue, 24 Aug 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <37A97B63.4C9BC7C0@wmdata.com> <yln1w6dw1z.fsf@windlord.stanford.edu> <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 X-Deja-AN: 516782636 Organization: The Eyrie Newsgroups: news.software.nntp