Article View: news.software.nntp
Article #86793Re: Setting up INN
From: Julien ÉLIE
Date: Mon, 08 Jun 2015 17:26
Date: Mon, 08 Jun 2015 17:26
104 lines
4644 bytes
4644 bytes
Hi Avon,
> I figure despite only planning to carry text only newsgroups it would be
> best practice (and easier on the server load?) to run with CNFS?
> I'd like to carry the *.nz groups (where I live) as tradspool but am
> unsure which other text groups/hierarchies would be best to keep as
> tradspool vs using CNFS? Your thoughts are most welcome!
Pros and cons of the storage methods are summarized here:
http://www.eyrie.org/~eagle/software/inn/docs/install.html#S6
I use tradspool for local hierarchies (carried only by the local news server) and control.* (more convenient).
> It seems there's a 2 gig limit on the size of cycbuff's created? I have a
> hunch the apt-get I ran to install INN2 on my Ubuntu box may have
> installed a version that only supports the file size? I'm unsure.
If you build INN with LFS (large-file support), this limitation no longer exists. I strongly recommend you to use a version of INN that supports LFS.
See in the documentation:
http://www.eyrie.org/~eagle/software/inn/docs/cycbuff.conf.html
"Note that in order to use any cycbuff larger than 2 GB, you need to build INN with the --enable-largefiles option."
The latest version of INN packaged in Debian supports LFS so I believe it is the same thing for Ubuntu!
> Can you (or others reading) kindly share some thoughts as to some default
> set of configurations for cycbuff and storage.conf that would be a
> starting point for me given I wish to carry just the big 8?
My storage.conf file is;
method tradspool {
newsgroups: "control.*,trigofacile.*"
class: 0
}
method timehash {
newsgroups: "france.*,news.*"
class: 1
}
method timecaf {
newsgroups: "microsoft.*"
class: 2
}
method cnfs {
newsgroups: "fr.*"
class: 3
options: FR
}
method cnfs {
newsgroups: *
class: 10
options: AUTRE
}
Well, you can exclude control.cancel from tradspool if you wish. This way, you would only keep control articles that create, remove or list newsgroups.
I use separate CNFS buffers for fr.* (as I live in France) and other hierarchies.
I suggest that you do not care about timehash and timecaf and just use tradspool and cnfs. (I only keep timehash and timecaf for testing purposes.)
And my cycbuff.conf file:
cycbuff:FR1:/home/news/spool/cycbuffs/frcnfs:1572864
cycbuff:FR2:/home/news/spool/cycbuffs/frcnfs2:1572864
cycbuff:FR3:/home/news/spool/cycbuffs/frcnfs3:1572864
cycbuff:FR4:/home/news/spool/cycbuffs/frcnfs4:1572864
cycbuff:AUTRE1:/home/news/spool/cycbuffs/autrecnfs:1572864
metacycbuff:FR:FR1,FR2,FR3,FR4:SEQUENTIAL
metacycbuff:AUTRE:AUTRE1:SEQUENTIAL
CNFS buffer status:
Buffer Class Size Used %Used Cycles KB/sec Days
AUTRE1 AUTRE 1.5 GB 1.2 GB 77.9% 1 0.05 395.09
FR1 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR2 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR3 FR 1.5 GB 399.4 KB 0.0% 3 0.00 0.00
FR4 FR 1.5 GB 202.3 MB 13.2% 2 0.04 449.39
TOTAL: 5 - 7.5 GB 1.4 GB 18.2% 12 0.04 -
--
Julien ÉLIE
« Ce n'est pas en tournant le dos aux choses qu'on leur fait face. »
(Pierre Dac)
Technical Details
Message-ID:
<ml4j8n$c82$1@news.trigofacile.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.(19219).mbox.7z!not-for-mailReferences:
<1187163953@f100.n770.z3.fidonet.org> <tskirvin.20150602170540$7a50@locust.killfile.org> <ml3no4$4ka$1@speranza.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <ml4j8n$c82$1@news.trigofacile.com> Subject: Re: Setting up INN Date: Mon, 08 Jun 2015 19:26:47 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <1187163953@f100.n770.z3.fidonet.org> <tskirvin.20150602170540$7a50@locust.killfile.org> <ml3no4$4ka$1@speranza.aioe.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.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 8 Jun 2015 17:26:47 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-88-198.w83-112.abo.wanadoo.fr:83.112.23.198"; logging-data="12546"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <ml3no4$4ka$1@speranza.aioe.org> X-Received-Bytes: 4546 X-Received-Body-CRC: 4051529360