Thread View: news.software.nntp
3 messages
3 total messages
Started by kitest
Sun, 03 Mar 1996 00:00
A couple of queries
Author: kitest
Date: Sun, 03 Mar 1996 00:00
Date: Sun, 03 Mar 1996 00:00
45 lines
2035 bytes
2035 bytes
Hi people I've had a newsfeed for about 18 months now, barring the usual problems it works fine. I've recently been experimenting with expire options on specific groups, though, and I can't seem to make it work properly. The idea being that if I dump the groups that take up a disproportionate quantity of space, I can keep the other articles longer. The stuff that I'm tring to dump takes a good couple of gigabytes, so I reckon its worth it. A sample of entries in the expire.ctl look like this: /remember/:14 ## Keep for 1-7 days, default expiry. *:A:1:7:7 ## Some particular groups stay for different duration junk:A:1:1:1 uk*:A:7:10:10 rec*:A:5:10:10 uk.test:A:1:1:1 test:A:1:1:1 alt.test*:A:1:1:1 alt.binaries*:A:1:5:5 alt*:A:5:6:6 comp.dcomp*:A:14:28:28 When the expire happens, the default expiry time is used, and the other entries ignored. I must be doing something wrong, but I can't see it. Secondly, can I set a symbolic link for junk and point it to /dev/null so as to dispose of the articles immediately, and is it possible to ensure that no entry goes into the history file so that I don't get an errors on expiration. Thirdly, are there any compiled versions for Linux of the latest unoff release lying around on the net. I got the sources a few weeks ago and wasn't able to make it work, basically I'm not bright enough. Hmmm, thats about it, hope someone can help. Cheers Keith
Re: A couple of queries
Author: bshelton
Date: Sun, 03 Mar 1996 00:00
Date: Sun, 03 Mar 1996 00:00
30 lines
1518 bytes
1518 bytes
In <4hbk7e$49r@news.aladdin.co.uk>, kives@mail.rmplc.co.uk (kitest) writes: >## Some particular groups stay for different duration >junk:A:1:1:1 >uk*:A:7:10:10 >rec*:A:5:10:10 >uk.test:A:1:1:1 >test:A:1:1:1 >alt.test*:A:1:1:1 >alt.binaries*:A:1:5:5 >alt*:A:5:6:6 >comp.dcomp*:A:14:28:28 > >When the expire happens, the default expiry time is used, and the other entries >ignored. I must be doing something wrong, but I can't see it. I forgot to mention in the previous post, expire seems to remove files based on file date, rather than the header expire: field, so if you have remember set for longer than you want to keep messages, it will re-store it to the group and expire will not remove it until the next N days you have set for the group in expire.ctl. ------------------------------------------ Brad Shelton bshelton@ole.net On-Line Exchange http://ole.net Detroit News http://detnews.com Detroit Free Press http://???
Re: A couple of queries
Author: bshelton
Date: Sun, 03 Mar 1996 00:00
Date: Sun, 03 Mar 1996 00:00
46 lines
2254 bytes
2254 bytes
In <4hbk7e$49r@news.aladdin.co.uk>, kives@mail.rmplc.co.uk (kitest) writes: >/remember/:14 I just cleaned up my entire site and noticed that, as soon as I cranked the feed back up, certain messages, dated three or more days earlier, showed up on the system again. I checked the actual file date and, sure enough, it was just recently received. AHA. The "remember/:5" at the top of expire.ctl will keep that file when I don't want it to. So... I changed it to "remember/:0" and we'll see what happens at the next expire. > >## Keep for 1-7 days, default expiry. >*:A:1:7:7 > >## Some particular groups stay for different duration >junk:A:1:1:1 >uk*:A:7:10:10 >rec*:A:5:10:10 >uk.test:A:1:1:1 >test:A:1:1:1 >alt.test*:A:1:1:1 >alt.binaries*:A:1:5:5 >alt*:A:5:6:6 >comp.dcomp*:A:14:28:28 >Secondly, can I set a symbolic link for junk and point it to /dev/null so >as to dispose of the articles immediately, and is it possible to ensure that >no entry goes into the history file so that I don't get an errors on expiration. I tried that. It worked ok for about 30 minutes then.... (message to news) INND is not running. I had mucho complaints in the log about not being able to write the file because it already existed, but it was actually because the path didn't really exist. As I said, though, after approximately 30 minutes, INNd died. I put the junk path back in the news spool and the problem went away. ------------------------------------------ Brad Shelton bshelton@ole.net On-Line Exchange http://ole.net Detroit News http://detnews.com Detroit Free Press http://???
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