🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27458

Re: INN, overview and crosspost - performance question

#27458
From: Russ Allbery
Date: Fri, 03 Apr 1998 00:00
57 lines
3036 bytes
In news.software.nntp, Paul Coen <pcoen@forest.drew.edu> writes:

> Now that I'm more comfortable with INN, I'm going back and looking at
> how the software was configured (I didn't set it up).  I'm noticing two
> things:

> 1) we're not using an overview database at all
> 2) we're not using a crosspost feed either

> Now, I don't want to have an overview database for everything -- for
> example, we're a clarinews subscriber, and those groups aren't threaded
> at all.

It doesn't matter; your clients are still going to request overview
information, so you still want to build it.  It honestly isn't going to
take much to do so; it's not that intensive of a process.

> So, if I wanted just *some* groups to have overview data maintained,
> would:

> overview:alt.*,comp.*,rec.*,soc.*:Tc,WO:/usr/news/bin/overchan

> do what I'd expect and only keep overview data for those four?  (Yes, I
> know to put the overview database on a different drive.  I've already
> changed config.data to point there.)

Yeah, that will do what you want, but I'd highly recommend this instead:

# Create the entries for .overview files.
overview!/cyberspam:*,@control.cancel:Tc,WO:/usr/news/bin/overchan

By aliasing out cyberspam, you're saving yourself the work of building and
expiring overview information for spam cancels.  Note that if you do this,
you should !-exclude control.cancel (or control if you don't have a split
control structure) from readers in nnrp.access, since they'll kill your
machine if they try to read control.cancel otherwise.

> Also, Clarinews (and comp.*, for that matter) seem to have a *lot* of
> crossposts.  Am I correct in thinking that using crosspost would speed
> up innd?  Also, is one crosspost process enough, or can (and should) I
> use two?  We don't have a huge newsfeed, but as I said, we have a lot of
> crossposts.

One's plenty.  I'd recommend running a crosspost feed rather than having
INN do it, since it moves the linking out of your main INN loop, which you
want to be as fast as possible.

Note that if you do add a crosspost channel feed, you want to be running
innd with -L so that it doesn't try to make the links itself; that's an
easy modification to the top of rc.news.

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


Technical Details
Message-ID: <m37m57ddg4.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <LM+KTlbKFW0n@forest>

Show Full Headers
Complete Article Headers
Message-ID: <m37m57ddg4.fsf@windlord.Stanford.EDU>
Subject: Re: INN, overview and crosspost - performance question
Date: Fri, 03 Apr 1998 00:00:00 +0000
From: rra@stanford.edu (Russ Allbery)
References: <LM+KTlbKFW0n@forest>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 340382734
Sender: scott@zorch.SF-Bay.ORG (Scott Hazen Mueller)
Approved: scott@zorch.SF-Bay.ORG
Organization: The Eyrie
Newsgroups: news.admin.technical,news.software.nntp