Article View: news.software.nntp
Article #38890Re: Overchan not keeping up
From: bill davidsen
Date: Fri, 30 Jul 1999 00:00
Date: Fri, 30 Jul 1999 00:00
58 lines
3362 bytes
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.
Technical Details
Message-ID:
<7nscce$38vi$1@newssvr03-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<slrn7q2leg.1oi.tuuli.tuominen@yendor.it.helsinki.fi>Show Full Headers
Complete Article Headers
Message-ID: <7nscce$38vi$1@newssvr03-int.news.prodigy.com> Subject: Re: Overchan not keeping up Date: Fri, 30 Jul 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <slrn7q2leg.1oi.tuuli.tuominen@yendor.it.helsinki.fi> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 506985979 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 933344462 107506 199.4.137.118 (30 Jul 1999 14:21:02 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 30 Jul 1999 14:21:02 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com