Thread View: news.software.nntp
11 messages
11 total messages
Started by Michael
Wed, 20 Jan 1999 00:00
expiry with cycbuff
Author: Michael
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
7 lines
1016 bytes
1016 bytes
we are running INN-2.1 using cycbuff storage method. "expire" does not seem to be able to flush old articles from the overview index even we put something like *:1:1:1 in the expire.ctl file. Did we miss something ?
Re: expiry with cycbuff
Author: chad_dressler
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
27 lines
1956 bytes
1956 bytes
In article <36A4CCD7.5D1F0291@netfront.net>, Michael <stocksaint@hotmail.com> wrote: > we are running INN-2.1 using cycbuff storage method. "expire" does not > seem to be able to flush old articles from the overview index even we > put something like *:1:1:1 in the expire.ctl file. Did we miss something > ? > > Oops - the first reply I posted to this question was totally wrong. The overview database is not expired automatically - it is expired by either expireover (using traditional storage) or expireindex (using storage api (timehash or cycbuff)). The correct overview expiry program is chosen by news.daily when it is called with the "expireover" option. The question I have is this: both expireindex and expireover take as an argument a file containing a list of articles to expire. Looking at news.daily, this script seems to be log/expire.rm. How is this file filled? I assume that each time an article is expired (rolled over) by a cycbuff, that article's ID is written to expire.rm, but this is just a guess. Chad Dressler -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: chad_dressler
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
22 lines
1682 bytes
1682 bytes
In article <36A4CCD7.5D1F0291@netfront.net>, Michael <stocksaint@hotmail.com> wrote: > we are running INN-2.1 using cycbuff storage method. "expire" does not > seem to be able to flush old articles from the overview index even we > put something like *:1:1:1 in the expire.ctl file. Did we miss something > ? > > From what I've read (and I could definitely be wrong) I believe that when using cycbuffs, the overview entries are automatically expired when a cycbuff rolls over (expires) the article itself. To find out how close your cycbuffs are to rolling over, use the 'cnfsstat' command. When they do roll over, there will be a message logged in the news.notice file, something like: Jan 14 05:37:34 ftp2 innd: CNFS-sm: cycbuff TWO rollover to cycle 0xa... remain calm -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[bugdescription] Re: expiry with cycbuff
Author: Oezguer Kesim
Date: Wed, 20 Jan 1999 00:00
Date: Wed, 20 Jan 1999 00:00
58 lines
3459 bytes
3459 bytes
chad_dressler@my-dejanews.com <chad_dressler@my-dejanews.com> wrote: > From what I've read (and I could definitely be wrong) I believe that when > using cycbuffs, the overview entries are automatically expired when a cycbuff > rolls over (expires) the article itself. This is definitly _not_ the case at our site. Even worse, it happens to be that in the overview _and_ the history there exist entries of articles which are already expired in cnfs (better: overwritten) but start at the same position (offset) as a newer one. So, you see a article header of some article in your reader, but if you want to get the article, you'll get a newer one at the same position in the cyclebuffer. A deeper explanation of the phenomenon (at our site) follows. Consider the following messages given by the following message-id's: <74j950$jpc$2@n.ruf.uni-freiburg.de> and <77dreq$h2a$1@news02.btx.dtag.de> The first one is about three weeks older as the second one. Both groups they are belonging to are stored in the same cyclebuffer. Now, in the uniover/overview, you can find _both_ headers. In the history, you will find two entries -- one (hash, token)-pair for each message-id. The tokens differ in the last part, but not in the _offsets_: msid : <77dreq$h2a$1@news02.btx.dtag.de> hash : 1826D3F56D373A1BB621AE1323FC49A5 token : @0302425546463033000000165348000000050300032D50EB00C60000@ offset : 2ca69000 msid : <74j950$jpc$2@n.ruf.uni-freiburg.de> hash : F2425A962B880BFE1790D8F80F5C46A8 token : @03024255464630330000001653480000000503000003012302170000@ offset : 2ca69000 So, we'll get the same article (namely the never one) twice, whereas one corresponds to a incorrect (better: expired) header.[1] As far as I checked the source, the cnfs-interface _should_ recognize, that the first token corresponds to a overwritten article, since the cycnum of the token differ from the corresponding value of the cyclebuffer itself. This (missing) behaviour would give a client the result 'article <74j950$jpc$2@n.ruf.uni-freiburg.de> not available', which would at least be a necessary behaviour of the newsserver. I'm currently bussy with analyzing/fixing this problem -- hope to get it done until weekend. cheers, oec [1] In fact, if you lseek() to that offset and read a while, you'll find some `tail' of the overwritten article (the part after ^\. of the article but before the next block in the cyclebuffer begins), which exactly belongs to the older article (checked against different other newsservers).
Re: expiry with cycbuff
Author: Lento Yip
Date: Tue, 26 Jan 1999 00:00
Date: Tue, 26 Jan 1999 00:00
35 lines
2470 bytes
2470 bytes
So, is there an option to expire the index before the cycbuff is rolled over ? Disk space is not a problem on our server but when the article list grows too large news users have problem downloading the complete list. Thanks for advice in advance. chad_dressler@my-dejanews.com wrote: > In article <36A4CCD7.5D1F0291@netfront.net>, > Michael <stocksaint@hotmail.com> wrote: > > we are running INN-2.1 using cycbuff storage method. "expire" does not > > seem to be able to flush old articles from the overview index even we > > put something like *:1:1:1 in the expire.ctl file. Did we miss something > > ? > > > > > > Oops - the first reply I posted to this question was totally wrong. The > overview database is not expired automatically - it is expired by either > expireover (using traditional storage) or expireindex (using storage api > (timehash or cycbuff)). The correct overview expiry program is chosen by > news.daily when it is called with the "expireover" option. > > The question I have is this: both expireindex and expireover take as an > argument a file containing a list of articles to expire. Looking at > news.daily, this script seems to be log/expire.rm. How is this file filled? > I assume that each time an article is expired (rolled over) by a cycbuff, > that article's ID is written to expire.rm, but this is just a guess. > > Chad Dressler > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: Lento Yip
Date: Tue, 26 Jan 1999 00:00
Date: Tue, 26 Jan 1999 00:00
35 lines
2470 bytes
2470 bytes
So, is there an option to expire the index before the cycbuff is rolled over ? Disk space is not a problem on our server but when the article list grows too large news users have problem downloading the complete list. Thanks for advice in advance. chad_dressler@my-dejanews.com wrote: > In article <36A4CCD7.5D1F0291@netfront.net>, > Michael <stocksaint@hotmail.com> wrote: > > we are running INN-2.1 using cycbuff storage method. "expire" does not > > seem to be able to flush old articles from the overview index even we > > put something like *:1:1:1 in the expire.ctl file. Did we miss something > > ? > > > > > > Oops - the first reply I posted to this question was totally wrong. The > overview database is not expired automatically - it is expired by either > expireover (using traditional storage) or expireindex (using storage api > (timehash or cycbuff)). The correct overview expiry program is chosen by > news.daily when it is called with the "expireover" option. > > The question I have is this: both expireindex and expireover take as an > argument a file containing a list of articles to expire. Looking at > news.daily, this script seems to be log/expire.rm. How is this file filled? > I assume that each time an article is expired (rolled over) by a cycbuff, > that article's ID is written to expire.rm, but this is just a guess. > > Chad Dressler > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: chad_dressler
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
45 lines
2904 bytes
2904 bytes
Well, if you expire the overview, the readers can no longer get the messages. In that case, you might as well just make your cycbuffs smaller, since there are going to be messages in them that can't be read anyway. In article <36ADD8BE.2816345E@netfront.net>, Lento Yip <lento@netfront.net> wrote: > So, is there an option to expire the index before the cycbuff is rolled over ? > Disk space is not a problem on our server but when the article list grows too > large news users have problem downloading the complete list. Thanks for advice > in advance. > > chad_dressler@my-dejanews.com wrote: > > > In article <36A4CCD7.5D1F0291@netfront.net>, > > Michael <stocksaint@hotmail.com> wrote: > > > we are running INN-2.1 using cycbuff storage method. "expire" does not > > > seem to be able to flush old articles from the overview index even we > > > put something like *:1:1:1 in the expire.ctl file. Did we miss something > > > ? > > > > > > > > > > Oops - the first reply I posted to this question was totally wrong. The > > overview database is not expired automatically - it is expired by either > > expireover (using traditional storage) or expireindex (using storage api > > (timehash or cycbuff)). The correct overview expiry program is chosen by > > news.daily when it is called with the "expireover" option. > > > > The question I have is this: both expireindex and expireover take as an > > argument a file containing a list of articles to expire. Looking at > > news.daily, this script seems to be log/expire.rm. How is this file filled? > > I assume that each time an article is expired (rolled over) by a cycbuff, > > that article's ID is written to expire.rm, but this is just a guess. > > > > Chad Dressler > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: Lento Yip
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
59 lines
3715 bytes
3715 bytes
The case is that say when a cycbuff's cycle time is one month, but one group generates 200 message per day and another generates 10 messages per day. On average, there will be 6000 messages for the first group and 300 for the second. My problem is to expire those 6000 messages to make the index shorter because I suppose people do not like to read this long list of news. Of course we can seperate the high traffic groups into another cycbuff, but considering the number of newsgroups such situation is not avoidable. Any idea to help us novices ? :) chad_dressler@my-dejanews.com wrote: > Well, if you expire the overview, the readers can no longer get the messages. > In that case, you might as well just make your cycbuffs smaller, since there > are going to be messages in them that can't be read anyway. > > In article <36ADD8BE.2816345E@netfront.net>, > Lento Yip <lento@netfront.net> wrote: > > So, is there an option to expire the index before the cycbuff is rolled over ? > > Disk space is not a problem on our server but when the article list grows too > > large news users have problem downloading the complete list. Thanks for advice > > in advance. > > > > chad_dressler@my-dejanews.com wrote: > > > > > In article <36A4CCD7.5D1F0291@netfront.net>, > > > Michael <stocksaint@hotmail.com> wrote: > > > > we are running INN-2.1 using cycbuff storage method. "expire" does not > > > > seem to be able to flush old articles from the overview index even we > > > > put something like *:1:1:1 in the expire.ctl file. Did we miss something > > > > ? > > > > > > > > > > > > > > Oops - the first reply I posted to this question was totally wrong. The > > > overview database is not expired automatically - it is expired by either > > > expireover (using traditional storage) or expireindex (using storage api > > > (timehash or cycbuff)). The correct overview expiry program is chosen by > > > news.daily when it is called with the "expireover" option. > > > > > > The question I have is this: both expireindex and expireover take as an > > > argument a file containing a list of articles to expire. Looking at > > > news.daily, this script seems to be log/expire.rm. How is this file filled? > > > I assume that each time an article is expired (rolled over) by a cycbuff, > > > that article's ID is written to expire.rm, but this is just a guess. > > > > > > Chad Dressler > > > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > > > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > > > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: chad_dressler
Date: Tue, 02 Feb 1999 00:00
Date: Tue, 02 Feb 1999 00:00
29 lines
2234 bytes
2234 bytes
In article <36B0A1DB.158CDE46@netfront.net>, Lento Yip <lento@netfront.net> wrote: > The case is that say when a cycbuff's cycle time is one month, but one group > generates 200 message per day and another generates 10 messages per day. On average, > there will be 6000 messages for the first group and 300 for the second. My problem > is to expire those 6000 messages to make the index shorter because I suppose people > do not like to read this long list of news. > > Of course we can seperate the high traffic groups into another cycbuff, but > considering the number of newsgroups such situation is not avoidable. > > Any idea to help us novices ? :) > It seems to me that that's exactly what you should do - split the groups into different cycbuffs based on volume and how long you want to keep the messages. The storage.conf file allows you very fine control over which groups go where, using wildmat patterns. For example, I put all locally-generated messages in a separate cycbuff so they stick around longer than general Usenet messages. Why won't this approach work on your system? What did you mean when you said "considering the number of newsgroups"? -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: chad_dressler
Date: Tue, 02 Feb 1999 00:00
Date: Tue, 02 Feb 1999 00:00
33 lines
2300 bytes
2300 bytes
In article <36B0A1DB.158CDE46@netfront.net>, Lento Yip <lento@netfront.net> wrote: > The case is that say when a cycbuff's cycle time is one month, but one group > generates 200 message per day and another generates 10 messages per day. On average, > there will be 6000 messages for the first group and 300 for the second. My problem > is to expire those 6000 messages to make the index shorter because I suppose people > do not like to read this long list of news. > > Of course we can seperate the high traffic groups into another cycbuff, but > considering the number of newsgroups such situation is not avoidable. > > Any idea to help us novices ? :) > I'm still not sure I understand why you want to get rid of the messages. What newsreaders are your users using? I assume they can choose to subscribe or not subscribe to particular groups. They will only see the 6000 messages if they subscribe for that group, in which case it would seem that they would WANT to see the 6000 messages. Or are you worried that the 6000 messages are going to cause the 300 messages to get expired too soon? This is a legitimate problem, and can be solved by sending the two groups to separate cycbuffs, using storage.conf. Chad Dressler -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: expiry with cycbuff
Author: bill davidsen
Date: Fri, 05 Feb 1999 00:00
Date: Fri, 05 Feb 1999 00:00
20 lines
1701 bytes
1701 bytes
In article <7980vm$1mu$1@nnrp1.dejanews.com>, <chad_dressler@my-dejanews.com> wrote: | I'm still not sure I understand why you want to get rid of the messages. | What newsreaders are your users using? I assume they can choose to subscribe | or not subscribe to particular groups. They will only see the 6000 messages | if they subscribe for that group, in which case it would seem that they would | WANT to see the 6000 messages. You must have reasonable users... I really want to make messages go away after some max time. Having users see messages which are months old gives them unrealistic ideas of typical retension, and when I don't have stuff online very long they complain that things have changed. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "When I warn about Y2k I want to be Paul Revere, not Chicken Little" --paraphrased from CNN
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