Thread View: news.software.nntp
5 messages
5 total messages
Started by zguoqi
Thu, 29 Dec 2005 11:36
disk full because of INN
Author: zguoqi
Date: Thu, 29 Dec 2005 11:36
Date: Thu, 29 Dec 2005 11:36
8 lines
1628 bytes
1628 bytes
My server is running INN only. So I supposed that INN is the one that is eating my disk. I do have articles exprie every day. 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?
Re: disk full because of INN
Author: 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
..
Re: disk full because of INN
Author: Paul Tomblin
Date: Thu, 29 Dec 2005 15:18
Date: Thu, 29 Dec 2005 15:18
17 lines
1808 bytes
1808 bytes
In a previous article, zguoqi@gmail.com said:
>My server is running INN only. So I supposed that INN is the one that
>is eating my disk. I do have articles exprie every day.
>
>What should I do to keep my disk smaller? I don't need long retention 3
Set "wanttrash" to false so that people feed you crap you don't want, it
doesn't end up in the junk group. I have had big problems with people
suddenly feeding me groups I don't want, and then the junk group getting
huge.
--
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
And it should be the law: If you use the word 'paradigm' without knowing
what the dictionary says it means, you go to jail. No exceptions.
-- David Jones
Re: disk full because of INN
Author: zguoqi
Date: Sat, 31 Dec 2005 18:24
Date: Sat, 31 Dec 2005 18:24
4 lines
1443 bytes
1443 bytes
Thanks all, I have turned off wanttrash. I will try cnfs soon!
Re: disk full because of INN
Author: zguoqi
Date: Sun, 01 Jan 2006 17:31
Date: Sun, 01 Jan 2006 17:31
12 lines
1652 bytes
1652 bytes
It sounds like it is working as what you described now. only >mkdir /udir/news/spool/cnfs > cd /udir/news/spool/cnfs should be: mkdir /var/spool/news/cnfs cd /var/spool/news/cnfs I think. And I did not do: chmod 664 store because I created it using news.
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