🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6912

Re: xrn rescanning groups

#6912
From: Per Hedeland
Date: Mon, 13 Dec 1993 05:38
39 lines
2812 bytes
In article <2eaku3$q6r@rastaban.usc.edu> whb@rastaban.usc.edu (Win Bent) writes:
>I like the look-and-feel of xrn, and it's nicely configurable, BUT:
>
>Whenever it goes from one group to another, it takes FOREVER!  Okay,
>let's try to pin that down a bit: it takes over five minutes to go
>to a group which has 200 articles.  The NNTP server is a Sparc-10,
>and the network is not *that* heavily loaded.
>
>My belief is that it's rescanning the list of active groups, which
>number well over 3000 here.  Even so, should that take so long?  Is
>there a way to make it stop?

Rescanning the list of groups doesn't normally take very long,
especially if you have set the FIXED_ACTIVE_FILE,
FIXED_C_NEWS_ACTIVE_FILE, and NNTP_REREADS_ACTIVE_FILE #defines
(assuming the conditions for these are met, of course, which they are in
a modern News system) - furthermore xrn will inform you with a message
when an automatic rescan is being made. Finally, the rescan interval can
be set (e.g. to something very high) with the .rescanTime resource.

What often *does* take a long time, especially when entering a group wih
many unread articles, is getting the Subject:/From:/Lines: header info
for the article list (using the NNTP XHDR command). On a system with the
"reference" NNTP implementation, this forces the NNTP server to open
(and search for the wanted header) all unread articles three times,
which will be slow if the News disk is heavily loaded (not uncommon on
such systems:-) - 5 minutes for 200 articles seems rather excessive,
though. (The above is actually a bit simplified, since xrn also does
"scan-ahead" in many cases.)

Unfortunately there's not a whole lot xrn can do about this, but if you
upgrade the News system to INN with overview, the XHDR commands will be
executed with blinding speed - I find that it's even possible to enter
the 'control' group (which has over 3000 articles on my system) now...

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
..uunet!erix.ericsson.se!per
Technical Details
Message-ID: <2egv51$2sv@euas20.eua.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!europa.eng.gtefsd.com!uunet!pipex!sunic!ericom!eua.ericsson.se!erix.ericsson.se!per
References: <2eaku3$q6r@rastaban.usc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <2egv51$2sv@euas20.eua.ericsson.se>
Subject: Re: xrn rescanning groups
Date: Mon, 13 Dec 1993 05:38:41 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <2eaku3$q6r@rastaban.usc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!europa.eng.gtefsd.com!uunet!pipex!sunic!ericom!eua.ericsson.se!erix.ericsson.se!per
Newsgroups: news.software.readers
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 39
NNTP-Posting-Host: super.eua.ericsson.se
NNTP-Posting-User: per