🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64664

Newly-created CNFS buffers seem wonky

#64664
From: Andrew Stribblehill
Date: Wed, 02 Apr 2003 09:28
61 lines
2935 bytes
Running the Debian package of INN 2.3.999+20030227-1 (i.e. the
snapshot from 2003-02-27. The server is a dual-processor i386 running
Linux 2.4.17.

I've just moved alt.* onto CNFS storage, with the following

[storage.conf]
method cnfs {
        newsgroups: alt.*
        class: 2
        expires: 0s,4d
        options: ALT
}

method tradspool {
        class: 1
        newsgroups: *
}


The cyclic buffers themselves are configured thus:

[cycbuff.conf]
cycbuff:ONE:/var/spool/news/cnfs/ONE:8388608
cycbuff:TWO:/var/spool/news/cnfs/TWO:8388608
cycbuff:THREE:/var/spool/news/cnfs/THREE:8388608

metacycbuff:ALT:ONE


(Yes, I know I'm only using 1/3 of the allocated space, but I want my
flexibility.)

Each cycbuff is a device, otherwise known as /dev/hda{9,10,11} which
are set in fdisk to be 8192 Mb, hence the size.

However, no files appear to be being stored in the CNFS buffers. I can
see the ones with an expiry header set, so I know that everything but
the CNFS system is working.

When I ran cnfsheadconf -c ONE, I get a division by zero because it
thinks $len is 0.

cnfsstat gives:
Class ALT  for groups matching "alt.*"
 Buffer ONE, size:  0.00 TBytes, position:  16.0 kBytes  0.00 cycles
  Newest: 2003-04-02 10:23:41,    0 days,  0:00:00 ago

The buffers were initialised okay, apparently:

[greppings from news.notice]
Apr  1 16:44:53 sirius makehistory[496]: CNFS-sm: No magic cookie found for cycbuff ONE, initializing
Apr  1 16:44:53 sirius makehistory[496]: CNFS-sm: No magic cookie found for cycbuff TWO, initializing
Apr  1 16:44:53 sirius makehistory[496]: CNFS-sm: No magic cookie found for cycbuff THREE, initializing

Any ideas?

-- 
Andrew Stribblehill
Systems programmer, IT Service, University of Durham, England
Technical Details
Message-ID: <877kadxn7s.fsf@durham.ac.uk>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!bnewspeer00.bru.ops.eu.uu.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!news.mathie.cx!nntphost.dur.ac.uk!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <877kadxn7s.fsf@durham.ac.uk>
Subject: Newly-created CNFS buffers seem wonky
Date: Wed, 02 Apr 2003 09:28:23 +0000
From: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!bnewspeer00.bru.ops.eu.uu.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!news.mathie.cx!nntphost.dur.ac.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Durham, Durham, UK
Lines: 60
Sender: ads@wompom
NNTP-Posting-Host: wompom.dur.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sirius.dur.ac.uk 1049275703 4508 129.234.2.63 (2 Apr 2003 09:28:23 GMT)
X-Complaints-To: usenet@durham.ac.uk
NNTP-Posting-Date: Wed, 2 Apr 2003 09:28:23 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2