Thread View: news.software.nntp
5 messages
5 total messages
Started by David Miller
Sat, 19 Jun 1999 00:00
Newbie CNFS question
Author: David Miller
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
40 lines
1716 bytes
1716 bytes
Hi all:)
I'm just setting up an INN2.2 server since a disk drive in an
old spliced array gave up.
It's compiled and seems to be running pretty well. I ran right
down the INSTALL list and checked it three times. Obiously, I
missed something. The articles all still go in
/usr/local/news/spool/articles/tld, INN is not writing them
into the cnfs files.
cycbuff.conf has the following:
cycbuff:BIN1:/usr/local/news/spool/disk1/bin1:5000000
cycbuff:BIN2:/usr/local/news/spool/disk2/bin2:5000000
cycbuff:BIN3:/usr/local/news/spool/disk3/bin3:uff:TEXT:TXT1,TXT2,TXT3
metacycbuff:BINARIES:BIN1,BIN2,BIN3
storage.conf has:
method cnfs {
newsgroups: *
class: 1
size: 0,0
expires: 0s,4d
options: BINARIES
}
The actual files were initialized with dd as per the installation guide.
Any hints on where to look - I'm sure I'm making some simple mistake -
would be most welcome:)
Thanks,
David Miller
Re: Newbie CNFS question
Author: Russ Allbery
Date: Fri, 18 Jun 1999 00:00
Date: Fri, 18 Jun 1999 00:00
40 lines
1814 bytes
1814 bytes
David Miller <dmiller@mote.rsn.com> writes:
> I'm just setting up an INN2.2 server since a disk drive in an old
> spliced array gave up.
> It's compiled and seems to be running pretty well. I ran right down the
> INSTALL list and checked it three times. Obiously, I missed something.
> The articles all still go in /usr/local/news/spool/articles/tld, INN is
> not writing them into the cnfs files.
Did you set storageapi to true in inn.conf?
> cycbuff.conf has the following:
> cycbuff:BIN1:/usr/local/news/spool/disk1/bin1:5000000
> cycbuff:BIN2:/usr/local/news/spool/disk2/bin2:5000000
> cycbuff:BIN3:/usr/local/news/spool/disk3/bin3:uff:TEXT:TXT1,TXT2,TXT3
> metacycbuff:BINARIES:BIN1,BIN2,BIN3
I'm guessing that's corrupted, above, and your storage.conf was also
missing any entry that uses the TEXT metacycbuff.
> storage.conf has:
> method cnfs {
> newsgroups: *
> class: 1
> size: 0,0
> expires: 0s,4d
> options: BINARIES
> }
Bear in mind that with the above entry, you won't store any articles with
Expires headers over four days. This almost certainly isn't what you
want; you'd lose a lot of FAQs.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Newbie CNFS question
Author: Russ Allbery
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
12 lines
1018 bytes
1018 bytes
Russ Allbery <rra@stanford.edu> writes: > At least on Solaris, 2GB cycbuffs don't work (you get a bad file > descriptor error), but 2GB - 1KB cycbuffs work fine. I should add to this: without large file support, or with raw devices. I haven't tried with regular files and large file support. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Newbie CNFS question
Author: Barrett Richardson
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
31 lines
1346 bytes
1346 bytes
On Sat, 19 Jun 1999, David Miller wrote: > > Any hints on where to look - I'm sure I'm making some simple mistake - > would be most welcome:) Look for a reference to 'storageapi' in inn.conf. There should be something about in INSTALL in the top of the source tree. Being a newbie too, I setup buffers 16GB in size on my first configuration (probably mmap problems) -- didn't work well at all (32 bit platform). The second time around I shrunk them down so that they would fit into a 32 bit signed entity -- worked much better. -- Barrett Richardson barrett@phoenix.aye.net > > Thanks, > > David Miller > > >
Re: Newbie CNFS question
Author: Russ Allbery
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
14 lines
1128 bytes
1128 bytes
Barrett Richardson <barrett@phoenix.aye.net> writes: > Being a newbie too, I setup buffers 16GB in size on my first > configuration (probably mmap problems) -- didn't work well at all (32 > bit platform). The second time around I shrunk them down so that they > would fit into a 32 bit signed entity -- worked much better. At least on Solaris, 2GB cycbuffs don't work (you get a bad file descriptor error), but 2GB - 1KB cycbuffs work fine. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads