Thread View: news.software.nntp
16 messages
16 total messages
Started by ron
Sat, 25 Sep 1999 00:00
inn 2.3 and overchan problems (repost)
Author: ron
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
25 lines
1369 bytes
1369 bytes
Hi All, I recently upgraded a 2.2 innd server to 2.3, under solaris 7. I wiped out the overchan spool and uniover too. I zeroed the cycbuff files. I kept my active, active.times, and newgroups files. I then did a touch on ~/db/history and ran the makedbz program...can't remember the switch. Now news is coming in, but the errlog file is filling up at about 1/2 the speed of the news log. It is filled with an error similar to: overchan malformed token, [big string of number/letters] alt.blah.blah:number Any ideas on what I did wrong this time? Also, what is the difference between uniover and overchan? Are they both needed? Thanks in advance, Ron.
Re: inn 2.3 and overchan problems (repost)
Author: Russ Allbery
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
24 lines
1477 bytes
1477 bytes
ron <nospam@austin.rr.com> writes: > Now news is coming in, but the errlog file is filling up at about 1/2 > the speed of the news log. It is filled with an error similar to: > overchan malformed token, [big string of number/letters] > alt.blah.blah:number INN 2.3 doesn't use overchan. Just remove the overchan feed entry in your newsfeeds file. > Also, what is the difference between uniover and overchan? Are they > both needed? Under INN 2.3, neither are, at least if you mean the INN 2.2 uniover. INN 2.3 writes overview entries internally, in one of two formats depending on your inn.conf file. I believe the default is the tradindexed style Clayton wrote, which will write normal overview files and an accompanying binary index file. It's slow to write to, but extremely fast for readers. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn 2.3 and overchan problems (repost)
Author: ron
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
51 lines
2561 bytes
2561 bytes
Thanks for the reply, see comments below please. In article <ylu2ojjlyp.fsf@windlord.stanford.edu>, rra@stanford.edu says... > ron <nospam@austin.rr.com> writes: > > > Now news is coming in, but the errlog file is filling up at about 1/2 > > the speed of the news log. It is filled with an error similar to: > > > overchan malformed token, [big string of number/letters] > > alt.blah.blah:number > > INN 2.3 doesn't use overchan. Just remove the overchan feed entry in your > newsfeeds file. Ok, so I have the following in my inn.conf enableoverview: true useoverchan: false ovmethod: tradindexed and here is what I have in my newsfeeds (besides the newsfeeds) overview!:*,!control,!junk:Ao,Tc,WhR:/usr/local/news/bin/overchan Let me see if I have this right, 2.3 handles the overview internally so I don't need overchan to store this info...I am just wasting disk space with this enabled? I just want to make sure I don't hurt anything turning it off. Where does it store the overview data, on the cnfs spool with the articles? Forgive me if I don't seem to understand what is going on, but I seem to learn more about news everytime I use it. It is harder to learn than the OS it runs under ;) Once again, thanks for the help. Ron. > > Also, what is the difference between uniover and overchan? Are they > > both needed? > > Under INN 2.3, neither are, at least if you mean the INN 2.2 uniover. INN > 2.3 writes overview entries internally, in one of two formats depending on > your inn.conf file. I believe the default is the tradindexed style > Clayton wrote, which will write normal overview files and an accompanying > binary index file. It's slow to write to, but extremely fast for readers.
Re: inn 2.3 and overchan problems (repost)
Author: Russ Allbery
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
39 lines
2109 bytes
2109 bytes
ron <nospam@austin.rr.com> writes:
> Ok, so I have the following in my inn.conf
> enableoverview: true
> useoverchan: false
> ovmethod: tradindexed
> and here is what I have in my newsfeeds (besides the newsfeeds)
> overview!:*,!control,!junk:Ao,Tc,WhR:/usr/local/news/bin/overchan
> Let me see if I have this right, 2.3 handles the overview internally so
> I don't need overchan to store this info...I am just wasting disk space
> with this enabled? I just want to make sure I don't hurt anything
> turning it off.
This is my understanding. I don't think overchan.c should even be in the
2.3 distribution. Hopefully someone will correct me if I've misunderstood
this. I've put this into the INSTALL for 2.3:
For those of you upgrading from earlier versions of INN, note that the
functionality of overchan and crosspost is now incorporated into INN and
neither of those programs are necessary (and running them could cause
problems). Unfortunately, crosspost currently will not work even with
the tradspool storage method.
and no one yelled, so I'm pretty sure it's right.
> Where does it store the overview data, on the cnfs spool with the
> articles?
No, under pathoverview in inn.conf, for tradindexed (the default). It
uses an abbreviated name of the newsgroup as the directory structure.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn 2.3 and overchan problems (repost)
Author: Richard Michael Todd
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
34 lines
2394 bytes
2394 bytes
Russ Allbery <rra@stanford.edu> writes: > > This is my understanding. I don't think overchan.c should even be in the > 2.3 distribution. Hopefully someone will correct me if I've misunderstood > this. I've put this into the INSTALL for 2.3: You've misunderstood this. :-) Overchan is still there, but *optional*. You can either have the overview writing done by innd, or by a separate overchan process. Depending on your setup, one way may be more efficient than the other. The "useoverchan" inn.conf. > > For those of you upgrading from earlier versions of INN, note that the > functionality of overchan and crosspost is now incorporated into INN and > neither of those programs are necessary (and running them could cause > problems). Unfortunately, crosspost currently will not work even with > the tradspool storage method. > > and no one yelled, so I'm pretty sure it's right. I think at the time you wrote that, overchan was gone. I resurrected it, because it's sometimes useful to get all that disk writing out of innd's main loop. Consider it a cheap substitute for having overview writing done by a separate thread inside innd. Note: The current overchan does require different data given to it than the old overchan. My current newsfeeds entry looks like: overview!:*:Tc,WntO:/usr/local/lib/newsbin/innd/overchan
Re: inn 2.3 and overchan problems (repost)
Author: greg andruk
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
12 lines
1232 bytes
1232 bytes
Russ Allbery <rra@stanford.edu> wrote: > I believe the default is the tradindexed style Clayton wrote, which > will write normal overview files and an accompanying binary index > file. It's slow to write to, but extremely fast for readers. Haven't tried buffindexed yet, but on the same hardware tradindexed is faster for readers than 1.7.2-insync, even with the directory scan factored out. Turning on overscream (mmap'd NOV) in insync got the results closer, but the newer stuff still wins. It's scary.
Re: inn 2.3 and overchan problems (repost)
Author: Russ Allbery
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
13 lines
1231 bytes
1231 bytes
Richard Michael Todd <rmtodd@independence.ecn.ou.edu> writes: > I think at the time you wrote that, overchan was gone. I resurrected > it, because it's sometimes useful to get all that disk writing out of > innd's main loop. Consider it a cheap substitute for having overview > writing done by a separate thread inside innd. Oh, yeah, that's right. Now I remember this. Sorry about that. :) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn 2.3 and overchan problems (repost)
Author: ron
Date: Sun, 26 Sep 1999 00:00
Date: Sun, 26 Sep 1999 00:00
28 lines
1993 bytes
1993 bytes
In article <ylr9jmekw9.fsf@windlord.stanford.edu>, rra@stanford.edu says... > Richard Michael Todd <rmtodd@independence.ecn.ou.edu> writes: > > > I think at the time you wrote that, overchan was gone. I resurrected > > it, because it's sometimes useful to get all that disk writing out of > > innd's main loop. Consider it a cheap substitute for having overview > > writing done by a separate thread inside innd. > > Oh, yeah, that's right. Now I remember this. Sorry about that. :) Ok, Thanks for the info guys. I removed overchan from newsfeeds and everything seems to be working fine. The overview info seems to get to the clients much more quickly than in 2.2. Hopefully this will continue as the CNFS buffers fill up. I will let you know if anything crops up when news.daily runs expire and such. I like the new readers.conf system...I will have to play with security on it, I have a few groups that want their own newgroups that nobody else at work can read/post to. Thanks, Ron.
Re: inn 2.3 and overchan problems (repost)
Author: Russ Allbery
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
42 lines
2483 bytes
2483 bytes
bill davidsen <davidsen@tmr.com> writes: > Not only the default, but the only method as far as I can see. I find in > the code that there is something called bufindexed, and there is some > code for it, but a grep of all the doc files shows no info on that, the > code is pretty near opaqueue (as of 9/15) in terms of having any > paragraph of explanation of how it works, and changing the method in > inn.conf "to see what will happen" results in innd terminating without > any message as to why. It uses cyclical buffers for overview data; you have to create them first. I don't know off-hand what's currently used to create them, but old inn-workers mail probably has the details. It's still very much in the implementation phase; it'll get docs written for it once it's fairly stable (although I know some people are using it already). Or ask Kondou, who wrote it. > I had hoped this method might give me a faster overview for transit > machines, where I currently run none. It's pretty fast to write to. That was the motivating factor. My understanding is that it's pretty fast to read from as well, although I personally haven't used it (I'm not running a 2.3 machine with overview yet). > It would be nice to be able to read articles once in a while, and > performance to the admins is not an issue. How much worse than 2.2 could > it be ;-) I've never needed to read articles off a transit server except by message ID. :) > I have assumed this was just beta code not yet implemented, feel free to > point me at the docs if I missed them. The code has been implemented; the docs haven't been yet. :) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn 2.3 and overchan problems (repost)
Author: bill davidsen
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
19 lines
1635 bytes
1635 bytes
In article <MPG.1256920e4f729b24989685@news-server.austin.rr.com>, ron <nospam@austin.rr.com> wrote: | Let me see if I have this right, 2.3 handles the overview internally so I | don't need overchan to store this info...I am just wasting disk space | with this enabled? I just want to make sure I don't hurt anything | turning it off. I'm pretty sure you are wasting disk space with this, I believe it will write an error mesage line to syslog for each article! I could be wrong, I glanced at the code, looks as if it will. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: inn 2.3 and overchan problems (repost)
Author: bill davidsen
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
31 lines
2293 bytes
2293 bytes
In article <ylbtargj8j.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | No, under pathoverview in inn.conf, for tradindexed (the default). It | uses an abbreviated name of the newsgroup as the directory structure. Not only the default, but the only method as far as I can see. I find in the code that there is something called bufindexed, and there is some code for it, but a grep of all the doc files shows no info on that, the code is pretty near opaqueue (as of 9/15) in terms of having any paragraph of explanation of how it works, and changing the method in inn.conf "to see what will happen" results in innd terminating without any message as to why. Yes, I deleted the old overview, zeroed cnfs buffers, emptied history, etc, etc. I had hoped this method might give me a faster overview for transit machines, where I currently run none. It would be nice to be able to read articles once in a while, and performance to the admins is not an issue. How much worse than 2.2 could it be ;-) I have assumed this was just beta code not yet implemented, feel free to point me at the docs if I missed them. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: inn 2.3 and overchan problems (repost)
Author: Russ Allbery
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
13 lines
1267 bytes
1267 bytes
Heiko Schlichting <heiko@cis.fu-berlin.de> writes: > Is buffindexed faster than tradindexed for a server with many readers? > What was the optimization goal for buffindexed? Faster writes, to make it easier for the server to keep up with a full feed. tradindexed is optimized for readers, at the cost of being slow to write. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn 2.3 and overchan problems (repost)
Author: Katsuhiro Kondou
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
21 lines
1978 bytes
1978 bytes
In article <yl670unc7q.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote; } It uses cyclical buffers for overview data; you have to create them first. } I don't know off-hand what's currently used to create them, but old } inn-workers mail probably has the details. It's still very much in the } implementation phase; it'll get docs written for it once it's fairly } stable (although I know some people are using it already). } } Or ask Kondou, who wrote it. Buffindexed works without any problem for over 2 weeks, and I think it's quite stable. } The code has been implemented; the docs haven't been yet. :) I'll write the docs at 'ovmethod' in inn.conf(5). -- Katsuhiro Kondou
Re: inn 2.3 and overchan problems (repost)
Author: bill davidsen
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
30 lines
2061 bytes
2061 bytes
In article <yl670unc7q.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | > I had hoped this method might give me a faster overview for transit | > machines, where I currently run none. | | It's pretty fast to write to. That was the motivating factor. My | understanding is that it's pretty fast to read from as well, although I | personally haven't used it (I'm not running a 2.3 machine with overview | yet). | | > It would be nice to be able to read articles once in a while, and | > performance to the admins is not an issue. How much worse than 2.2 could | > it be ;-) | | I've never needed to read articles off a transit server except by message | ID. :) My motivation is that once in a while I need to see what's in a group I've been asked to add. Since the transit feeders have about everything known to man I could peek at the group there. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: inn 2.3 and overchan problems (repost)
Author: Heiko Schlichting
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
10 lines
1289 bytes
1289 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> writes: >Buffindexed works without any problem for over 2 weeks, and >I think it's quite stable. Is buffindexed faster than tradindexed for a server with many readers? What was the optimization goal for buffindexed? Heiko
Re: inn 2.3 and overchan problems (repost)
Author: Katsuhiro Kondou
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
17 lines
1964 bytes
1964 bytes
In article <ylzoy52g8y.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote; } Faster writes, to make it easier for the server to keep up with a full } feed. tradindexed is optimized for readers, at the cost of being slow to } write. I believe reading performance is not so bad for buffindexed. Sep 24 16:44:31 newstest nnrpd[24054]: reader overstats count 1 hit 147887 miss 116857 time 12849 size 33634907 dbz 0 seek 0 get 0 artcheck 851 This is the result of control.cancel. 10000 entries/sec. The box is solaris2.5.1 on SS20 with 256MB memory. -- Katsuhiro Kondou
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