🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Tuuli Tuominen Fri, 30 Jul 1999 00:00
Overchan not keeping up
#38893
Author: Tuuli Tuominen
Date: Fri, 30 Jul 1999 00:00
24 lines
1883 bytes
Hi all,
I have a new server with reasonably fast disks running Inn 2.2. Lately I've
seen 'overview! spooling 30122 bytes' in my news.err log. I understand this
happens when overchan can't keep up and I have to run expireover -a to fix
the overview databases (I'm using traditional spool). What I can't figure
out is why can't overchan keep up with Inn? The machine shouldn't be IO
bound and the overview records aren't in the same hierarchy as the articles
or the database files (overview is in /var/news/spool/overview).

I've noticed that overchan has trouble only right after the server is
through expiring. I assume that's because the server is getting a flood of
articles after not taking any for a while. What's strange is that it never
did this before (the server's been up for over a month now) and the only
thing that has changed is that I installed c-nocem. I don't think that has
anything to do with it though. Is there any setting I could play
with or any other solution than to move the overview databases on a
different disk?

Help would be much appreciated,
Tuuli.



Re: Overchan not keeping up
#38890
Author: bill davidsen
Date: Fri, 30 Jul 1999 00:00
58 lines
3362 bytes
In article <slrn7q2leg.1oi.tuuli.tuominen@yendor.it.helsinki.fi>,
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> wrote:

| I have a new server with reasonably fast disks running Inn 2.2. Lately I've
| seen 'overview! spooling 30122 bytes' in my news.err log. I understand this
| happens when overchan can't keep up and I have to run expireover -a to fix
| the overview databases (I'm using traditional spool). What I can't figure
| out is why can't overchan keep up with Inn? The machine shouldn't be IO
| bound and the overview records aren't in the same hierarchy as the articles
| or the database files (overview is in /var/news/spool/overview).

The problem is that innd doesn't block when the queue starts getting
full, IMHO a really bad decision, since a user will connect, see that
there are articles listed as received, not in overview, and will mark
them canceled in the browser. The reader loses them, complains, yecch.

The real solution is to cut back on the size of the queue and block
instead of spooling, a simple patch I don't have around any more.
However, I do remember two other tricks I used to use, which might help.

First trick, up the priority of overchan with renice or whatever you
have on your system. This only helps a little.

You can also run multiple copies of overchan, limited only by your
willingness to write the ugly newsfeeds lines which get uglier with
every added feed.

Ex:
  oc1:!*,alt.*
  oc2:*,@alt.*

With the obvious stuff after this, of course.

Finally, you can just run the data to a file and run a job which loops,
reading the file, sorting it by first group, and passing the info to
overchan. By sorting the input you get locality of reference gains,
which can be combined with running multiple copies to make the whole
thing run faster.

If you run traditional store, if you are running the linking in a
separate process, stop that. It make innd faster and makes your problem
worse.

The good news is that with 2.3 and CNFS, most of these problems go away,
and you can combine cnfs and use traditional store for specialty groups.
The overview in 2.3 isn't really faster, it might even be slower, but it
is locked to the article write and doesn't get behind.

Hope some/any of this helps, my current solution is multiple streams and
fast everything, with news.daily run during light load.

-- 
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: Overchan not keeping up
#38894
Author: Tuuli Tuominen
Date: Sat, 31 Jul 1999 00:00
37 lines
2353 bytes
On 30 Jul 1999 14:21:02 GMT, bill davidsen wrote:
>
>The problem is that innd doesn't block when the queue starts getting
>full, IMHO a really bad decision, since a user will connect, see that
>there are articles listed as received, not in overview, and will mark
>them canceled in the browser. The reader loses them, complains, yecch.

Oh, I was under the impression that the missing overview record just makes
the reading process slower. I didn't realize it'll actually make the reader
lose articles. So it's a worse problem than I thought.

>You can also run multiple copies of overchan, limited only by your
>willingness to write the ugly newsfeeds lines which get uglier with
>every added feed.

So I can take for example the alt groups from my one and only feed and feed
them into one overchan and the rest of the groups into another? I'll look
into this.

>If you run traditional store, if you are running the linking in a
>separate process, stop that. It make innd faster and makes your problem
>worse.

I'm afraid I don't understand what you're talking about. The linking?

>>Hope some/any of this helps, my current solution is multiple streams and
>fast everything, with news.daily run during light load.

Thank you, will try out your suggestions as soon as possible.

Tuuli.
-- 
It isn't pollution that's harming the environment.
It's the impurities in our air and water that are doing it.
				-- Dan Quayle

Re: Overchan not keeping up
#38953
Author: Tuuli Tuominen
Date: Wed, 04 Aug 1999 00:00
26 lines
1989 bytes
On 4 Aug 1999 14:25:45 GMT, bill davidsen wrote:
>In article <slrn7q5s4d.2rs.tuuli.tuominen@yendor.it.helsinki.fi>,
>Tuuli Tuominen <tuuli.tuominen@helsinki.fi> wrote:
>| On 30 Jul 1999 14:21:02 GMT, bill davidsen wrote:
>
>| >If you run traditional store, if you are running the linking in a
>| >separate process, stop that. It make innd faster and makes your problem
>| >worse.
>| 
>| I'm afraid I don't understand what you're talking about. The linking?
>
>Nevermind, I don't see the -L option anymore. Never ran 2.2 with
>traditional, so I hadn't checked.

Oh, you meant crossposting. I thought you were supposed to have the -L in
inn flags if you have a crosspost feed, so I do have the option enabled. The
overchan problem has disappeared for at least a while, though. I took S30000
away from the overchan feed setting, don't know if it was that that did it.

Thanks anyway,
Tuuli.
-- 
It's time for the human race to enter the solar system.
					-- Dan Quayle

Re: Overchan not keeping up
#38954
Author: bill davidsen
Date: Wed, 04 Aug 1999 00:00
23 lines
1711 bytes
In article <slrn7q5s4d.2rs.tuuli.tuominen@yendor.it.helsinki.fi>,
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> wrote:
| On 30 Jul 1999 14:21:02 GMT, bill davidsen wrote:

| >If you run traditional store, if you are running the linking in a
| >separate process, stop that. It make innd faster and makes your problem
| >worse.
| 
| I'm afraid I don't understand what you're talking about. The linking?

Nevermind, I don't see the -L option anymore. Never ran 2.2 with
traditional, so I hadn't checked.

When a little more stable, 2.3 will allow a mix of traditional and cnfs
if you only need traditional for certain groups.

-- 
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.


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