🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Administrator Mon, 14 Jun 1999 00:00
INN 2.2 overchan choking?
#38020
Author: Administrator
Date: Mon, 14 Jun 1999 00:00
31 lines
1706 bytes
Grrets,

I've recently switched to from Netscape Collabra 3.52 to INN 2.2 with
CNFS. I used to have INN 2.2 as a backup newsserver with almost full
newsfeed. INN 2.2 was syncronized with feeding NS Collabra 3.52 &
running in slave mode.

The things were good. I've decided to put INN 2.2 on the production
server instead of NS. So, I've pointed all the feeds & readers to the
backup server & started running it in master mode.

After a few hours of running messages like:

Jun 13 23:33:46 ashes innd: overview!:108:proc:29486 blocked sleeping
120
Jun 13 23:50:35 ashes innd: overview!:108:proc:29486 cant write
Operation would 
block

started showing up in error log. AFAIK, this indicates that overchan is
not coping with the incoming feed. 

Are there any suggestions/recommendations how to imptove the overchan's
performance?

TIA,
-- 
Serguei Chipouline
System Administrator

Re: INN 2.2 overchan choking?
#38019
Author: Russ Allbery
Date: Mon, 14 Jun 1999 00:00
28 lines
1680 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> If you're using CNFS, don't run overchan.  You don't need it.  INN
>> writes overview data out via uniover internally under the storage API
>> with INN

> Where is this documented?  The overchan man page definitely gives the
> impression that one should run it.

I'm not sure where it's documented; I'd go make sure there was
documentation, but we ripped out the whole uniover stuff for 2.3 and went
to a different overview scheme which is much faster.  And that scheme
isn't finalized yet (I still have another change I'd like to see happen
with it), so I'm holding off writing much documentation for it until then.

But overchan isn't even in the source tree any more.

> And, on that note, what Bad Things happen if a person HAS been running
> it for a month or two?  :)

You have a whole tree of overview data that nothing's using.  :)  Other
than that, no harm.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.2 overchan choking?
#38028
Author: Russ Allbery
Date: Mon, 14 Jun 1999 00:00
15 lines
1063 bytes
Administrator <admin@videotron.ab.ca> writes:

> I've recently switched to from Netscape Collabra 3.52 to INN 2.2 with
> CNFS. I used to have INN 2.2 as a backup newsserver with almost full
> newsfeed. INN 2.2 was syncronized with feeding NS Collabra 3.52 &
> running in slave mode.

If you're using CNFS, don't run overchan.  You don't need it.  INN writes
overview data out via uniover internally under the storage API with INN
2.2.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.2 overchan choking?
#38034
Author: greg andruk
Date: Tue, 15 Jun 1999 00:00
16 lines
1301 bytes
Russ Allbery <rra@stanford.edu> writes:

> Administrator <admin@videotron.ab.ca> writes:
>> I've recently switched to from Netscape Collabra 3.52 to INN 2.2 with
>> CNFS. I used to have INN 2.2 as a backup newsserver with almost full
>> newsfeed. INN 2.2 was syncronized with feeding NS Collabra 3.52 &
>> running in slave mode.

> If you're using CNFS, don't run overchan.  You don't need it.  INN writes
> overview data out via uniover internally under the storage API with INN
> 2.2.

For 2.2, what about the overview indexes for nnrpd?  Timehash still
needs overchan there...

Re: INN 2.2 overchan choking?
#38035
Author: Russ Allbery
Date: Tue, 15 Jun 1999 00:00
35 lines
2068 bytes
[ Posted and mailed to admin@videotron.ab.ca. ]

greg andruk <meowing@banet.net> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> Administrator <admin@videotron.ab.ca> writes:

>>> I've recently switched to from Netscape Collabra 3.52 to INN 2.2 with
>>> CNFS. I used to have INN 2.2 as a backup newsserver with almost full
>>> newsfeed. INN 2.2 was syncronized with feeding NS Collabra 3.52 &
>>> running in slave mode.

>> If you're using CNFS, don't run overchan.  You don't need it.  INN
>> writes overview data out via uniover internally under the storage API
>> with INN 2.2.

> For 2.2, what about the overview indexes for nnrpd?  Timehash still
> needs overchan there...

Hurm... is overchan what generates that?  I thought it was being done
internally by INN like the uniover stuff... let me check.

Ack!  I'm sorry, you're quite right.  You do too need overchan.  Ugh.  My
apologies for the incorrect information.  Under storageapi, overchan is
generating the index files.

Which goes back to the previous problem of what to do about it falling
behind.  The technique that other people have used that seems to help
somewhat is to run multiple copies of overchan.  Make sure that they get
non-overlapping subscription lists (using @ wildcards as appropriate) and
try to spread the load between four of them or so.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.2 overchan choking?
#38048
Author: hume.spamfilter
Date: Tue, 15 Jun 1999 00:00
14 lines
1282 bytes
Russ Allbery <rra@stanford.edu> wrote:
: If you're using CNFS, don't run overchan.  You don't need it.  INN writes
: overview data out via uniover internally under the storage API with INN

Where is this documented?  The overchan man page definitely gives the
impression that one should run it.

And, on that note, what Bad Things happen if a person HAS been running it
for a month or two?  :)

-- 
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/

Re: INN 2.2 overchan choking?
#38054
Author: bill davidsen
Date: Tue, 15 Jun 1999 00:00
93 lines
4335 bytes
In article <ylaeu2phnm.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Administrator <admin@videotron.ab.ca> writes:
| 
| > I've recently switched to from Netscape Collabra 3.52 to INN 2.2 with
| > CNFS. I used to have INN 2.2 as a backup newsserver with almost full
| > newsfeed. INN 2.2 was syncronized with feeding NS Collabra 3.52 &
| > running in slave mode.
| 
| If you're using CNFS, don't run overchan.  You don't need it.  INN writes
| overview data out via uniover internally under the storage API with INN
| 2.2.

Um, this doesn't seem to be the case with 2.2-REL or 2.2-STABLE, or I
have a major bug. Actually this works the nuts for transit machines, but
reader machines have a few commands which don't work, XOVER being one of
them.

You can run multiple copies of overchan, being careful that the articles
don't overlap. This works better on SMP than a single processor. You can
use renice to set the priority of the overchan higher than the innd. You
can run to a file and start a new copy of overchan against the current
file every 30 sec or so.

Based on my experience these work only so-so, but are better than
nothing. You can patch the innd code so that "would block" becomes a
real block. This slows your incoming rate but keeps a reader machine
sane. Remember that some readers use the active for the initial article
range, and the XOVER for headings. If overview gets behind, the active
dsays there are new articles not in overview, the reader agent marks them
as deleted, and the user never sees them.

Speaking from experience this totally and mightily pissed the users off,
which is why I know about the other methods.

##  News overview
# This is an example of a slightly split feed
overview!:alt.*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
overview!:rec.*,@alt.*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
overview!:*,@rec.*,@alt.*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan

You should also be splitting hell out of the overview files, here's an
example (sorry, long). This also really helps performance, assuming you
have this filesystem striped over multiple drives. I make no claim that
this split is optimal, it was done on the basis of file size limitation,
the single file was >2GB!!

================================================================
# This file is used to determine which overview file is selected to be
stored
#   in sort of order of largest first

# index #:wildmat
#   jobs stuff
1:misc.jobs.*
2:misc.jobs
3:us.jobs.*,biz.jobs.*,alt.jobs.*,nyc.jobs.*,ne.jobs.*,ba.jobs.*,pdaxs.jobs.*,uk.jobs.*,il.jobs.*,seattle.jobs.*,pa.jobs.*,phl.jobs.*
9:*.jobs,*.jobs.*

#   Smut of various flavors
10:alt.binaries.pictures.erotica.*
11:alt.binaries.*
12:alt.sex,alt.sex.*

#   This is a one group hierarchy ;-)
20:control.cancel

#   Various big stuff from group scans
30:tw.bbs.*
31:soc.culture.*,alt.fan.*
32:alt.politics.*,news.lists,alt.nocem
33:rec.arts.*,microsoft.public.*,rec.music.*,comp.sys.*,alt.religion.*,alt.religion.*

34:comp.os.*,rec.games.*,alt.business.*,comp.lang.*,rec.sport.*,alt.support.*,alt.games.*

35:alt.music.*,alt.2600.*,talk.politics.*

#   The hierarchies of reasonable size
60:alt.*
61:misc.*
62:rec.*
63:control.*,tw.*
64:soc.*,news.*
65:comp.*
66:de.*,uk.*,microsoft.*
67:talk.*,nl.*,nyc.*,ne.*,sci.*,us.*,it.*
68:fido7.*,fr.*,biz.*,hk.*,tx.*,aus.*,relcom.*,la.*,ny.*

#   The rest goes in the bucket
99:*


Re: INN 2.2 overchan choking?
#38069
Author: T. William Wells
Date: Tue, 15 Jun 1999 00:00
13 lines
1444 bytes
In article <yl7lp5nb83.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
: Which goes back to the previous problem of what to do about it falling
: behind.  The technique that other people have used that seems to help
: somewhat is to run multiple copies of overchan.  Make sure that they get
: non-overlapping subscription lists (using @ wildcards as appropriate) and
: try to spread the load between four of them or so.

Another possibility is to run the overchan data into a file and
process that file with a batch job. This gets rid of all
possibility of losing data while somewhat increasing the latency.

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