Article View: news.software.nntp
Article #50184CNFS problem
From: David Swanger
Date: Fri, 26 Jan 2001 20:21
Date: Fri, 26 Jan 2001 20:21
84 lines
3941 bytes
3941 bytes
I created a metacycbuff named ALT. It contains five cycbuffs
named ALT1,ATL2,ALT3,ALT4 and ALT5.
Here are the lines from cycbuff.conf:
******
cycbuff:ALT1:/usr/local/news/spool/CNFS/altbuff01:1024000
cycbuff:ALT2:/usr/local/news/spool/CNFS/altbuff02:1024000
cycbuff:ALT3:/usr/local/news/spool/CNFS/altbuff03:1024000
cycbuff:ALT4:/usr/local/news/spool/CNFS/altbuff04:1024000
cycbuff:ALT5:/usr/local/news/spool/CNFS/altbuff05:1024000
metacycbuff:ALT:ALT1,ALT2,ALT3,ALT4,ALT5
******
The lines in storage.conf are:
******
method cnfs {
class: 6
newsgroups: alt.*
options: ALT
}
******
I created the buffer files with the following commands:
******
/bin/dd if=/dev/zero of=/usr/local/news/spool/CNFS/altbuff001 bs=1024k count=1000
/bin/dd if=/dev/zero of=/usr/local/news/spool/CNFS/altbuff002 bs=1024k count=1000
/bin/dd if=/dev/zero of=/usr/local/news/spool/CNFS/altbuff003 bs=1024k count=1000
/bin/dd if=/dev/zero of=/usr/local/news/spool/CNFS/altbuff004 bs=1024k count=1000
/bin/dd if=/dev/zero of=/usr/local/news/spool/CNFS/altbuff005 bs=1024k count=1000
******
Before I continue, my goal here was to create a 5G cnfs buffer for alt.* messages (I
have a separate cnfs buffer for alt.binaries). Did I make a mistake on any of these?
It seems to be working fine. However, it seems to only retain 21 days worth
of articles. For example, I see the following if I enter the command:
cnfsstat -a -c ALT
******
Class ALT for groups matching "alt.*"
Buffer ALT1, size: 1000 MBytes, position: 64.5 MBytes 1.00 cycles
Newest: 2001-01-26 14:03:44, 0 days, 0:00:16 ago
Oldest: 2001-01-05 15:09:22, 20 days, 22:54:38 ago
Buffer ALT2, size: 1000 MBytes, position: 62.7 MBytes 1.00 cycles
Newest: 2001-01-26 14:03:44, 0 days, 0:00:16 ago
Oldest: 2001-01-05 14:45:14, 20 days, 23:18:46 ago
Buffer ALT3, size: 1000 MBytes, position: 64.5 MBytes 1.00 cycles
Newest: 2001-01-26 14:03:44, 0 days, 0:00:17 ago
Oldest: 2001-01-05 15:18:34, 20 days, 22:45:27 ago
Buffer ALT4, size: 1000 MBytes, position: 64.8 MBytes 1.00 cycles
Newest: 2001-01-26 14:03:44, 0 days, 0:00:17 ago
Oldest: 2001-01-05 15:42:38, 20 days, 22:21:23 ago
Buffer ALT5, size: 1000 MBytes, position: 64.2 MBytes 1.00 cycles
Newest: 2001-01-26 14:03:44, 0 days, 0:00:17 ago
Oldest: 2001-01-05 15:20:20, 20 days, 22:43:41 ago
******
If I wait a short while and re-enter the command, the oldest file is
always newer than 21 days. I thought the buffers would retain articles
until the buffers were full, then would start over-writing articles.
Maybe I don't understand the cnfsstat output.
Oh yes, I'm running INN 2.3.1 on a Sun Ultra 2 (Solaris 8).
I guess my question is, why aren't these buffers filling up (or are
they and I'm just not understanding the cnfsstat messages)???
Thanks!
--
David Swanger
Office of Information Technology
Auburn University, AL
swangdb@mail.auburn.edu
Technical Details
Message-ID:
<94sm8f$mhv$1@aunews.duc.auburn.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.yosemite.net!news-out.cwix.com!newsfeed.cwix.com!aunews.duc.auburn.edu!peking!swangdbShow Full Headers
Complete Article Headers
Message-ID: <94sm8f$mhv$1@aunews.duc.auburn.edu> Subject: CNFS problem Date: Fri, 26 Jan 2001 20:21:35 +0000 From: swangdb@mail.auburn.edu (David Swanger) 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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.yosemite.net!news-out.cwix.com!newsfeed.cwix.com!aunews.duc.auburn.edu!peking!swangdb Newsgroups: news.software.nntp Organization: Auburn University Usenet Server Lines: 83 NNTP-Posting-Host: peking.duc.auburn.edu X-Trace: aunews.duc.auburn.edu 980540495 23103 131.204.85.205 (26 Jan 2001 20:21:35 GMT) X-Complaints-To: abuse@auburn.edu NNTP-Posting-Date: Fri, 26 Jan 2001 20:21:35 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2]