Thread View: news.software.nntp
5 messages
5 total messages
Started by Niels van Sluis
Tue, 25 May 1999 00:00
Big History File
Author: Niels van Sluis
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
15 lines
1084 bytes
1084 bytes
Hi, I'm running INN2.0 and my history file has grown very big. Is there a way to let it shrink? I've allready have set remember on 5 days in the expire.ctl file. Maybe there is a command to refresh the history file? Please let me know, Thanks, Niels
Re: Big History File
Author: Russ Allbery
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
16 lines
1215 bytes
1215 bytes
bill davidsen <davidsen@tmr.com> writes: > One of the problems with inn-2.x and CNFS is that expire just flat out > doesn't work in terms of removing old articles. I actually tried a hack > which found old articles in certain groups and issued local cancels on > them to limit retension. FYI, this is high on the list of things I intend to fix as soon as I get a test server up again. I want something that says "delete all articles from the history that are older than X days, regardless of whether they're still in a cycbuff or not." -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Big History File
Author: bill davidsen
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
38 lines
2497 bytes
2497 bytes
In article <927638057.562612@samba.news.big-orange.net>, Niels van Sluis <nvs@admin.big-orange.net> wrote: | I'm running INN2.0 and my history file has grown very big. Is there a way to | let it shrink? I've allready have set remember on 5 days in the expire.ctl | file. Maybe there is a command to refresh the history file? How about some useful info on what "big" means? If your daily reports that you took 300k articles, and you have a retension of four days, you will have ~1500 lines in history, because everything is remembered five days anyway. But if you are using CNFS and have enough disk to keep articles for ten days, then you will have 10*300k history entries. Loog at your expire.log file and see if it looks as if it ran. Better yet, look at the directory /usr/local/news/db (or wherever) and verify that a new history file is built and used. You could be having an expire fail, you could be keeping too many articles, or you could be worrying about a normal size. One of the problems with inn-2.x and CNFS is that expire just flat out doesn't work in terms of removing old articles. I actually tried a hack which found old articles in certain groups and issued local cancels on them to limit retension. If you give the users more than you promise, they regard it as a right, not a bonus, and in the future will demand it. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc One common problem is mistyping an email address and creating another valid, though unintended, recipient. Always check the recipient's address carefully when sending personal information, such as credit card numbers, death threats or offers of sexual services.
Re: Big History File
Author: bill davidsen
Date: Wed, 02 Jun 1999 00:00
Date: Wed, 02 Jun 1999 00:00
33 lines
2293 bytes
2293 bytes
In article <ylso8ky9xo.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > One of the problems with inn-2.x and CNFS is that expire just flat out | > doesn't work in terms of removing old articles. I actually tried a hack | > which found old articles in certain groups and issued local cancels on | > them to limit retension. | | FYI, this is high on the list of things I intend to fix as soon as I get a | test server up again. I want something that says "delete all articles | from the history that are older than X days, regardless of whether they're | still in a cycbuff or not." But that's trivial... you can just add an argument to expire on the command line, or in the expire file which does it, since the date(s) are in the history file. What I was playing with was a little program which pulled down the overview to "really expire" a group, identified the items in that group older than the target date, and issued a (local) cancel to make the article go away. Still no as good as old expire, which removed the article from each group individually. I think you could do that by clever use of expireover or some such, at least as proof of concept. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The Internet is not the fountain of youth, but some days it feels like the fountain of immaturity.
Re: Big History File
Author: Russ Allbery
Date: Wed, 02 Jun 1999 00:00
Date: Wed, 02 Jun 1999 00:00
26 lines
1690 bytes
1690 bytes
bill davidsen <davidsen@tmr.com> writes: > Russ Allbery <rra@stanford.edu> wrote: >> FYI, this is high on the list of things I intend to fix as soon as I >> get a test server up again. I want something that says "delete all >> articles from the history that are older than X days, regardless of >> whether they're still in a cycbuff or not." > But that's trivial... you can just add an argument to expire on the > command line, or in the expire file which does it, since the date(s) are > in the history file. Yup. It just hasn't been done yet. > What I was playing with was a little program which pulled down the > overview to "really expire" a group, identified the items in that group > older than the target date, and issued a (local) cancel to make the > article go away. I wonder if you couldn't do something similar to what timehash does there, using storage classes, and then let expire do the work.... -- 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