Article View: news.software.nntp
Article #72360Re: How does CNFS really work?
From: Eric Edwards
Date: Fri, 30 Sep 2005 22:58
Date: Fri, 30 Sep 2005 22:58
121 lines
5883 bytes
5883 bytes
On Thu, 29 Sep 2005 00:54:31 +0000 (UTC), Jeffrey M. Vinocur <jeff@litech.org> wrote:
>In article <slrndjm6fe.akn.ese002@spica.exile.org>,
>Eric Edwards <ese002@news9.exile.org> wrote:
>>I thought I knew. Write articles sequentially and wrap around at the
>>end (or to the next sequential buffer) expiring old articles as they are
>>overwritten.
>
>Well, unless you set SEQUENTIAL in cycbuff.conf, INN actually
>spreads the articles evenly between the buffers, so that slow
>disks can be used even for a high-volume feed.
>
>I wonder if the INTERLEAVE / SEQUENTIAL setting explains the
>behavior you report?
Nope. It has always been set to SEQUENTIAL.
>If not, I think seeing the output of `cnfsstat -a` and the
>contents of storage.conf and cycbuff.conf would help us puzzle
>out your concerns.
storage.conf:
============
method cnfs {
newsgroups: *
class: 2
size: 32768
options: BINARY
}
method cnfs {
newsgroups: comp.binaries.*
class: 1
options: CBINARY
}
method cnfs {
newsgroups: *
class: 0
options: EVERYTHING
}
# nothing goes to tradspool anymore
method tradspool {
class: 1
newsgroups: *
}
cycbuff.conf
===========
cycbuff:ZERO:/news/cycbuffs/zero:512000
cycbuff:ONE:/news/cycbuffs/one:512000
cycbuff:TWO:/news/cycbuffs/two:512000
cycbuff:THREE:/news/cycbuffs/three:512000
cycbuff:FOUR:/news/cycbuffs/four:512000
cycbuff:FIVE:/news/cycbuffs/five:512000
cycbuff:CBIN0:/news/cycbuffs/cbin0:1024
cycbuff:BIN0:/news/cycbuffs/bin0:1024
cycbuff:BIN1:/news/cycbuffs/bin1:1024
metacycbuff:EVERYTHING:ZERO,ONE,TWO,THREE,FOUR,FIVE:SEQUENTIAL
metacycbuff:BINARY:BIN0,BIN1:SEQUENTIAL
metacycbuff:CBINARY:CBIN0:SEQUENTIAL
eric@spica~ cnfsstat -a
Class BINARY for groups matching "*", article size min/max: 32768/0
Buffer BIN0, size: 0 TBytes, position: 16.0 kBytes 1375.02 cycles
Newest: 2005-09-30 15:50:07, 0 days, 0:01:48 ago
Oldest: 2005-09-30 10:10:09, 0 days, 5:41:46 ago
Buffer BIN1, size: 0 TBytes, position: 16.0 kBytes 1375.02 cycles
Newest: 2005-09-30 15:20:12, 0 days, 0:31:44 ago
Oldest: 2005-09-30 12:19:47, 0 days, 3:32:09 ago
Class CBINARY for groups matching "comp.binaries.*"
Buffer CBIN0, size: 0 TBytes, position: 36.5 kBytes 0.04 cycles
Newest: 2005-09-28 4:00:00, 2 days, 11:51:56 ago
Oldest: 2005-09-23 10:41:50, 7 days, 5:10:06 ago
Class EVERYTHING for groups matching "*"
Buffer ZERO, size: 500 MBytes, position: 128 kBytes 3.00 cycles
Newest: 2005-09-25 4:23:02, 5 days, 11:28:55 ago
Oldest: 2005-09-20 20:48:11, 9 days, 19:03:46 ago
Buffer ONE, size: 500 MBytes, position: 128 kBytes 3.00 cycles
Newest: 2005-09-29 0:20:51, 1 days, 15:31:07 ago
Oldest: 2005-09-25 4:23:23, 5 days, 11:28:35 ago
Buffer TWO, size: 500 MBytes, position: 219 MBytes 2.44 cycles
Newest: 2005-09-30 15:51:58, 0 days, 0:00:01 ago
Oldest: 2005-09-10 23:46:57, 19 days, 16:05:02 ago
Buffer THREE, size: 500 MBytes, position: 128 kBytes 2.00 cycles
Newest: 2005-09-16 12:55:00, 14 days, 2:57:00 ago
Oldest: 2005-09-13 0:01:19, 17 days, 15:50:41 ago
Buffer FOUR, size: 500 MBytes, position: 128 kBytes 2.00 cycles
Newest: 2005-09-20 20:48:06, 9 days, 19:03:54 ago
Oldest: 2005-09-16 12:55:07, 14 days, 2:56:53 ago
Buffer FIVE, size: 500 MBytes, position: 128 kBytes 0.00 cycles
Newest: 2005-09-21 12:11:24, 9 days, 3:40:37 ago
Oldest: 2005-09-16 12:55:07, 14 days, 2:56:54 ago
>
>>1) I have articles stored in CNFS that appear to have been there for
>>more than two full rotations.
>
>This I have no explanation for. Unless somehow you have cycbuffs
>that aren't included in the rotation, perhaps due to changes in
>storage.conf?
Buffer FIVE is new but it was added shortly after the current cycle
began. It is still empty. cnfstat -a is consistent with the age of the
oldest articles but not with the date stamps on the buffers. Then again,
the date stamps are making less and less sense.
eric@spica~ ls -lt /news/cycbuffs/
total 6159536
-rw-r--r-- 1 news news 524288000 Sep 30 15:55 two
-rw-r--r-- 1 news news 2099200 Sep 30 15:50 bin0
-rw-r--r-- 1 news news 2099200 Sep 30 14:59 bin1
-rw-r--r-- 1 news news 524288000 Sep 30 10:53 zero
-rw-r--r-- 1 news news 2097152 Sep 30 10:41 cbin0
-rw-r--r-- 1 news news 524288000 Sep 30 06:45 three
-rw-r--r-- 1 news news 524288000 Sep 30 06:45 four
-rw-r--r-- 1 news news 524288000 Sep 30 06:43 one
-rw-r--r-- 1 news news 524288000 Sep 21 12:11 five
--
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Technical Details
Message-ID:
<slrndjrgpc.17s.ese002@spica.exile.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!news-out.nuthinbutnews.com!spool6-east.superfeed.net!propagator-sterling.newsfeeds.com!in.nntp.be!news.exile.org!ese002References:
<slrndjm6fe.akn.ese002@spica.exile.org> <dhfe07$3bd$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <slrndjrgpc.17s.ese002@spica.exile.org> Subject: Re: How does CNFS really work? Date: Fri, 30 Sep 2005 22:58:53 +0000 From: ese002@news9.exile.org (Eric Edwards) References: <slrndjm6fe.akn.ese002@spica.exile.org> <dhfe07$3bd$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!news-out.nuthinbutnews.com!spool6-east.superfeed.net!propagator-sterling.newsfeeds.com!in.nntp.be!news.exile.org!ese002 Lines: 121 NNTP-Posting-Host: localhost Organization: Engineers in Exile Newsgroups: news.software.nntp X-Trace: spica.exile.org 1128121133 5111 127.0.0.1 (30 Sep 2005 22:58:53 GMT) X-Complaints-To: usenet@spica.exile.org NNTP-Posting-Date: Fri, 30 Sep 2005 22:58:53 +0000 (UTC) User-Agent: slrn/0.9.6.2 (SunOS)