Article View: news.software.nntp
Article #34670Re: Judging "fullness" of cnfs buffers
From: Mark Mentovai
Date: Thu, 14 Jan 1999 00:00
Date: Thu, 14 Jan 1999 00:00
45 lines
2410 bytes
2410 bytes
Chad Dressler wrote in news.software.nntp: >Three questions: > >1. Is there any way to know exactly how close a cnfs buffer is to rolling >over? Yes. Use the cnfsstat script, included with the tests of inn 2.2 (if you have an earlier INN version and won't switch, you can just pull the cnfsstat out of 2.2, it is compatible). Usually, I find myself running it with the -a switch, which shows the age of the oldest article in each buffer. For each buffer, you'll see something like this: Buffer NEWS01A, len: 415.0390625 Mbytes, used: 157.63 Mbytes (38.0%) 6 cycles Newest: 1999-01-14 15:43:25, 0 days, 0:00:07 ago Oldest: 1999-01-03 1:58:53, 11 days, 13:44:39 ago It's pretty self-explanatory, but take note that once a buffer has rolled over once, the "used" label is sort of a misnomer: it refers to amount written to the buffer during the current cycle - in other words, this buffer can hold another 257.41MB before rolling over to cycle 7. >2. Is it logged somewhere when a cnfs buffer actually does roll over? Yes, it's logged via syslog. Check your news.notice file for messages like this: Jan 14 05:37:34 cedar innd: CNFS-sm: cycbuff NEWS06D rollover to cycle 0xa... remain calm >3. Is there some way to know how many expirations are caused by buffer >rollover versus article expire headers? No, but that's OK, because expire headers are ignored (unless you have set up specific storage classes for different ranges of expirations, but even this won't actually expire articles, it only allows you to provide a separate storage area which has a longer cycle time). -MM -- Mark Mentovai mark@moxienet.com http://www.moxienet.com/
Technical Details
Message-ID:
<mark-1401991554550001@moxienet.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-mailReferences:
<77ld2q$dif$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
Message-ID: <mark-1401991554550001@moxienet.com> Subject: Re: Judging "fullness" of cnfs buffers Date: Thu, 14 Jan 1999 00:00:00 +0000 From: mark@moxienet.com (Mark Mentovai) References: <77ld2q$dif$1@nnrp1.dejanews.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: 432697509 X-Complaints-To: news@liii.com X-Trace: cedar.liii.com 916347295 25368 204.180.230.25 (14 Jan 1999 20:54:55 GMT) Organization: MoxieNet NNTP-Posting-Date: 14 Jan 1999 20:54:55 GMT Newsgroups: news.software.nntp