🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #380

Re: NN over NNTP - need info about nnmaster's strange behaviour...

#380
From: Kim F. Storm
Date: Mon, 14 May 1990 09:51
35 lines
2332 bytes
steve@otto. (Steve Iatropoulos) writes:

>   What I would like to know is what nnmaster really does over nntp
>   anyway?  I tell nnmaster to rescan every 10 minutes (ie a -r flag 
>   with no minutes specified; so the default takes effect),  but it seems
>   that it only does the rescan over a much larger period of time (I havent
>   been running it for long so I cant discern any pattern but its terms
>   of hours (or may be days) hard to say yet.

It is quite simple:  nnmaster relies on the timestamp of the active file.
So what it does over NNTP is to emulate the existence of a local active file.
At the specified interval, it will make a temporary copy of the active file
using NNTPs LIST request; it will then compare this copy of the active file
with the "emulated" active file (ACTIVE), and only if they differ, the
temporary active file will replace the "emulated" active file, and thus
update the time stamp which is what the logic for detecting new articles relies
on.

>   At 4:30 in the morning I have a cron process which does a 'nnadmin -EW'
>   also - is this really necessary?

No, you should use =EW which will make it silent.

>   The interesting thing is that I had to also physically touch the ACTIVE
>   file in ../spool/nn in order to get nnadmin (and nnmaster also) going.

Yes that will get it going, but will it do anything?  The nnadmin EW will
cause nnmaster to ignore the time stamp on the ACTIVE file on the next scan,
so it is a bit strange that it doesn't work for you.


-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <534@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <3711@minyos.xx.rmit.oz>

Show Full Headers
Complete Article Headers
Message-ID: <534@texas.dk>
Subject: Re: NN over NNTP - need info about nnmaster's strange behaviour...
Date: Mon, 14 May 1990 09:51:32 +0000
From: storm@texas.dk (Kim F. Storm)
References: <3711@minyos.xx.rmit.oz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 35
Posted: Mon May 14 10:51:32 1990