Article View: news.software.nntp
Article #72367Re: How does CNFS really work?
From: Jeffrey M. Vinocur
Date: Sun, 02 Oct 2005 19:37
Date: Sun, 02 Oct 2005 19:37
134 lines
6422 bytes
6422 bytes
In article <slrndjrgpc.17s.ese002@spica.exile.org>,
Eric Edwards <ese002@news9.exile.org> wrote:
>
>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: *
>}
Do you have any old, unexpired articles in tradspool? If not,
you could take that group out...I'm not even sure those articles
would be accessible given that you have two storage groups with
"class: 1" for that matter.
BTW, did you mean for CBINARY to only get the <32768 byte
articles in comp.binaries? That's what the above is doing.
>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
This looks okay to me. Were any of your complaints related to
this group?
>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
This is a little odd looking, since it implies nothing has been
stored in CBINARY for two and a half days. If you're getting a
full feed, it's hard to believe that's true, even with the
above-mentioned restriction on what makes it there by size.
>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
>
>[...] Buffer FIVE is new but it was added shortly after the
>current cycle began. It is still empty.
Okay, this arrangement looks pretty sensible to me, although I'm
not sure why FIVE would have any evidence of articles being
stored in it between 9 and 14 days ago, unless maybe you copied
an existing cycbuff to create it.
>>>1) I have articles stored in CNFS that appear to have been there for
>>>more than two full rotations.
So now that I have some idea of what your setup is like, maybe we
can make some sense of this. Can you identify an article that
you feel is hanging around for too long, get the message ID, and
do this:
~news/bin/grephistory '<asdf@example.com>' | showtoken
(The showtoken utility comes in "contrib" in the INN source tree
and probably isn't otherwise installed on your system. In fact,
you might only have "showtoken.in", in which case you can do
`grephistory ... | perl showtoken.in` and it'll work just fine.
That will tell us where the article you're worried about is
actually stored.
>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
I'm not sure the timestamps are enormously meaningful for CNFS,
to be honest -- I've never paid any attention to them before. I
see why you're confused though.
Speculating here, I wonder if CNFS is touched when an article is
cancelled due to a cancel message being received. That might
explain occasional updates not related to new articles being
stored there.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dhpctf$va2$4@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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<slrndjm6fe.akn.ese002@spica.exile.org> <dhfe07$3bd$1@puck.litech.org> <slrndjrgpc.17s.ese002@spica.exile.org>Show Full Headers
Complete Article Headers
Message-ID: <dhpctf$va2$4@puck.litech.org> Subject: Re: How does CNFS really work? Date: Sun, 02 Oct 2005 19:37:19 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <slrndjm6fe.akn.ese002@spica.exile.org> <dhfe07$3bd$1@puck.litech.org> <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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 134 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1128281839 32066 66.218.0.75 (2 Oct 2005 19:37:19 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sun, 2 Oct 2005 19:37:19 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)