Article View: news.software.nntp
Article #61420Re: 400 no matching entry in storage.conf storing article -- throttling (INN)
From: Russ Allbery
Date: Sun, 13 Oct 2002 16:41
Date: Sun, 13 Oct 2002 16:41
93 lines
4337 bytes
4337 bytes
Raqueeb Hassan <raqueebh@yahoo.com> writes:
> my one is with timehash ... you can make it work but no cfns :-(
> method timehash {
> newsgroups: *
> class: 0
> }
> method timehash {
> newsgroups: *
> class: 1
> size: 2,32000
> }
So right now, you could just delete the second block there and this would
function exactly the same. Not only are both of these blocks putting
things into the same storage method, but the first block matches
everything and therefore the second block never triggers.
> please give me a working idea with cfns, please? just how do i start
> using cfns istead of timehash? how do i migrate? I couldn't make out
> with ..
> method cnfs {
> newsgroups: *
> class: 3
> size: 4000,1000000
> options: BIGAREA
> }
Probably because you put it after your existing entries. You also need to
write a cycbuff.conf, and then read:
<http://www.eyrie.org/~eagle/software/inn/docs-2.3/install.html#S8>
Here's a storage.conf file:
# $Id: storage.conf,v 1.4 2000/12/23 13:06:15 news Exp $
# Binaries go into CNFS.
method cnfs {
newsgroups: *.binar*,alt.anonymous.messages
class: 1
options: META
}
# Some other high-volume junk newsgroups also go into CNFS.
method cnfs {
newsgroups: control.cancel,*.jobs*,news.lists.filters
class: 2
options: META
}
# Everything else goes into traditional spool.
method tradspool {
newsgroups: *
class: 3
}
and a corresponding cycbuff.conf:
# $Id: cycbuff.conf,v 1.2 2000/12/14 06:54:48 news Exp $
# We have twelve available partitions to use as cycbuffs (since we want
# each raw device used as a cycbuff to be smaller than 2GB so that we
# don't need large-file support). The devices were created by mknod so
# that we have a separate device owned by news. The first cycbuff is
# smaller by one cylinder so that it avoids the first cylinder of the
# disk where the partition table is.
cycbuff:T00:/news/spool/cycbuffs/c1t5d0s0:1464320
cycbuff:T01:/news/spool/cycbuffs/c1t5d0s1:1466368
cycbuff:T03:/news/spool/cycbuffs/c1t5d0s3:1466368
cycbuff:T04:/news/spool/cycbuffs/c1t5d0s4:1466368
cycbuff:T05:/news/spool/cycbuffs/c1t5d0s5:1466368
cycbuff:T06:/news/spool/cycbuffs/c1t5d0s6:1466368
cycbuff:T10:/news/spool/cycbuffs/c1t5d1s0:1464320
cycbuff:T11:/news/spool/cycbuffs/c1t5d1s1:1466368
cycbuff:T13:/news/spool/cycbuffs/c1t5d1s3:1466368
cycbuff:T14:/news/spool/cycbuffs/c1t5d1s4:1466368
cycbuff:T15:/news/spool/cycbuffs/c1t5d1s5:1466368
cycbuff:T16:/news/spool/cycbuffs/c1t5d1s6:1466368
# Put all the cycbuffs in one large pool.
metacycbuff:META:T00,T10,T01,T11,T03,T13,T04,T14,T05,T15,T06,T16
This uses raw devices; you can also use disk files to store CNFS buffers.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylfzvaxpeb.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<8cbe3813.0210100425.2e7e4d8b@posting.google.com> <ao4trd$fnm$3@puck.litech.org> <8cbe3813.0210102255.1ecd9b9f@posting.google.com> <ao6acn$9hd$1@puck.litech.org> <8cbe3813.0210121226.21754ad0@posting.google.com> <ylelavv1cl.fsf@windlord.stanford.edu> <2545b34c.0210130319.6623b1cf@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <ylfzvaxpeb.fsf@windlord.stanford.edu> Subject: Re: 400 no matching entry in storage.conf storing article -- throttling (INN) Date: Sun, 13 Oct 2002 09:41:16 -0700 From: Russ Allbery <rra@stanford.edu> References: <8cbe3813.0210100425.2e7e4d8b@posting.google.com> <ao4trd$fnm$3@puck.litech.org> <8cbe3813.0210102255.1ecd9b9f@posting.google.com> <ao6acn$9hd$1@puck.litech.org> <8cbe3813.0210121226.21754ad0@posting.google.com> <ylelavv1cl.fsf@windlord.stanford.edu> <2545b34c.0210130319.6623b1cf@posting.google.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 92 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1034527276 20809 171.64.13.23 (13 Oct 2002 16:41:16 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:Mc6Hj2SdQiUbVwO6Eohxg68/Boo=