Thread View: news.software.nn
2 messages
2 total messages
Started by Andrew Gaylard
Fri, 24 Sep 1999 00:00
Options compiling nn
Author: Andrew Gaylard
Date: Fri, 24 Sep 1999 00:00
Date: Fri, 24 Sep 1999 00:00
58 lines
2770 bytes
2770 bytes
Hi nn users,
I'm considering graduating from a nnmaster database (I never did understand
what it was for... anyone feel like explaining?) to using NNTP/NOV.
I'm using... hmmm...
:version
Release 6.5.3 (NOV)
The trouble is, nn now takes forever to launch. I found
http://www.math.fu-berlin.de/~guckes/nn/bugs.html
(thanks, Sven!) which mentions the following:
NN bug - Resistance to pulling the active file
Version: 6.5.0b3
Fact: nn insists on sucking the active file down the hose.
Problem: Even if you have 'set new groups' turned off, are running NOV,
nn wants to pull the active file down the NNTP link [ a modem
connection in my case ].
Suggestion: Traverse the active file and change into each group in
order. When entering the group, the server will give high and low
article numbers. There is no reason I can see, with new groups turned
off, for it to require the active file from the server.
This has been fixes for NN-TK "and alone justifies moving to that tree
if you are running NN via NNTP over a slow connection. It makes a huge
difference in the startup time."
Reported by: Robert Lipe robertl@arnet.com [960220]
I'm sure that this is the problem. My link to the NNTP server is a mere
256kb/s and is shared by about 400 people, so I don't really want to eat it
all up every time I launch nn.
I'm presently using this to fetch news every night via cron:
/usr/local/lib/nn/nnmaster -B -C \
`awk '{ FS=":"; print $1}' ~andrewg/.newsrc \
| grep -v '!' `
If I understand the database correctly (and I probably don't), then all this
does is to update the list of groups, and the articles in them (not the full
text of each article, though). This allows my old copy of nn to launch
immediately, which is very nice.
Does 6.5.4 fix this problem? If so, I'll upgrade... If not, what choices do
I have? I seem to remember that nn-7 will get rid of the database completely.
Is that so?
Thanks for any help,
--
--
Andrew Gaylard
andrewg @ bsw . co . za
Re: Options compiling nn
Author: Michael T Pins
Date: Sat, 25 Sep 1999 00:00
Date: Sat, 25 Sep 1999 00:00
94 lines
5205 bytes
5205 bytes
andrewg@bsw.co.za (Andrew Gaylard) writes:
>I'm considering graduating from a nnmaster database (I never did understand
>what it was for... anyone feel like explaining?) to using NNTP/NOV.
In order for a newsreader to be able to show you a list of the articles in
a newsgroup (and how many unread articles are in other groups) it needs to
either:
a) go into every directory on the newserver and look around, or
b) get the information out of a database (created previously)
Option (a) really isn't an option, so Kim chose (b). As no one had ever
done this before, he wrote a program to create a database for nn to read,
nnmaster. This was all well and good, but when other newsreaders started
doing the same thing, they didn't use the nnmaster database or nnmaster,
they each had their own. As such a database will be 7-10% the size of the
newspool, this obviously wasn't going to work. Enter Geoffrey Collyer and
NOV. We now had a standard database format for all newsreaders to use.
Granted, it was bigger than nnmasters, and wasn't nearly as fast, but it
was something everyone was willing to use. Basically, NOV does the same
thing that nnmaster did, only using text files instead of binary databases
(hence the bigger and slower).
>I'm using... hmmm...
>:version
>Release 6.5.3 (NOV)
If nn-6.5.3 works for you, there's no real reason to upgrade to 6.5.4.
The main bugfix only applies to people talking to Typhoon as far as I can
tell (but it's an ugly one).
>The trouble is, nn now takes forever to launch. I found
>http://www.math.fu-berlin.de/~guckes/nn/bugs.html
>(thanks, Sven!) which mentions the following:
> NN bug - Resistance to pulling the active file
> Version: 6.5.0b3
> Fact: nn insists on sucking the active file down the hose.
> Problem: Even if you have 'set new groups' turned off, are running NOV,
> nn wants to pull the active file down the NNTP link [ a modem
> connection in my case ].
> Suggestion: Traverse the active file and change into each group in
> order. When entering the group, the server will give high and low
> article numbers. There is no reason I can see, with new groups turned
> off, for it to require the active file from the server.
>I'm sure that this is the problem. My link to the NNTP server is a mere
>256kb/s and is shared by about 400 people, so I don't really want to eat it
>all up every time I launch nn.
>I'm presently using this to fetch news every night via cron:
>/usr/local/lib/nn/nnmaster -B -C \
>`awk '{ FS=":"; print $1}' ~andrewg/.newsrc \
>| grep -v '!' `
>If I understand the database correctly (and I probably don't), then all this
>does is to update the list of groups, and the articles in them (not the full
>text of each article, though). This allows my old copy of nn to launch
>immediately, which is very nice.
What this does is builds a binary nnmaster database on your local machine
for the groups that you read. Yes, this will make things go very fast.
The drawback is, nn will only see articles that were there when you last
ran nnmaster. By using NOV, you no longer need to run nnmaster (nn won't
look at it anyway), and you'll see all the articles currently available.
The drawback, obviously, is that it's slower.
>Does 6.5.4 fix this problem? If so, I'll upgrade... If not, what choices do
>I have? I seem to remember that nn-7 will get rid of the database completely.
>Is that so?
Does nn-6.5.4 fix this? No.
nn assumes that you are reading news over a decent network, a perfectly
reasonable assumption, up until a year or two ago. Also remember that the
active file at most sites has grown by a factor of 30 in the last 8 years.
A few years ago pulling down the entire active file, even over a slow link,
wasn't a problem. nn7 will have the ability to only grab info about the
groups you are subscribed to. And yes, nnmaster is gone as of nn7.
What are you options?
Go back to using nnmaster.
Cope with the slow startup.
Switch to nn-tk, which is a different branch of nn (starting with 6.5.0b3),
and which I don't know much else about as I've never used it.
--
**************************************************************************
* Michael T Pins | mtpins@visi.com *
* keeper of the nn sources | mtpins@icaen.uiowa.edu *
* ftp://ftp.visi.com/users/mtpins | #include <std.disclaimer> *
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