Article View: news.software.nntp
Article #72933Re: disk full because of INN
From: Xavier Roche
Date: Thu, 29 Dec 2005 12:50
Date: Thu, 29 Dec 2005 12:50
35 lines
2326 bytes
2326 bytes
zguoqi@gmail.com wrote:
> What should I do to keep my disk smaller? I don't need long retention 3
> days is enough for me, I think. I have other servers catch articles
> from INN every 10 mins and store those articles in some big disk. What
> else should I do to make sure that INN will not eat my disk?
Estimate the average size for the spool for 3 days, create a big file
with this size, and switch to CNFS. No more disk and/or expire problems,
the expiry is made naturally.
Example:
mkdir /udir/news/spool/cnfs
cd /udir/news/spool/cnfs
dd if=/dev/zero of=store bs=1k count=20000
chmod 664 store
store.conf:
method cnfs {
newsgroups: *
class: 0
size: 0,0
options: STORE
}
cycbuff.conf:
cycbuff:STORE0:/var/spool/news/cnfs/store:20000
metacycbuff:STORE:STORE0
You can later add more buffers if you need more space:
cycbuff:STORE1:/var/spool/news/cnfs/store1:20000
cycbuff:STORE2:/var/spool/news/cnfs/store2:20000
cycbuff:STORE3:/var/spool/news/cnfs/store3:20000
metacycbuff:STORE:STORE0,STORE1,STORE2,STORE3
..
Technical Details
Message-ID:
<dp0m8t$ned$1@news.httrack.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!ndsoftware.com!proxad.net!feed.ac-versailles.fr!news.httrack.net!not-for-mailReferences:
<1135856218.396651.279450@o13g2000cwo.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <dp0m8t$ned$1@news.httrack.net> Subject: Re: disk full because of INN Date: Thu, 29 Dec 2005 13:50:53 +0100 From: Xavier Roche <xroche@free.fr.NOSPAM.invalid> References: <1135856218.396651.279450@o13g2000cwo.googlegroups.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!ndsoftware.com!proxad.net!feed.ac-versailles.fr!news.httrack.net!not-for-mail Newsgroups: news.software.nntp Organization: Nowhere Corp. Lines: 35 NNTP-Posting-Host: gw.exalead.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.httrack.net 1135860829 24013 193.47.80.25 (29 Dec 2005 12:53:49 GMT) X-Complaints-To: usenet@httrack.com NNTP-Posting-Date: Thu, 29 Dec 2005 12:53:49 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; X-Accept-Language: fr, en-us, en, ja In-Reply-To: <1135856218.396651.279450@o13g2000cwo.googlegroups.com>