🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2150

Re: nn with cnews

#2150
From: Peter J. Ebbelink
Date: Thu, 10 Oct 1991 14:24
46 lines
3077 bytes
In <1991Oct9.014747.24796@geovision.gvc.com> news@geovision.gvc.com (News Administrator) writes:

>I've just installed cnews on this system.  Previously, I was (and still am),
>running nnmaster as a deamon out of /etc/rc.local, like so:

>if [ -f /usr/local/lib/nn/nnmaster ]; then
>	rm -f /usr/local/lib/nn/MPID
>	/usr/local/lib/nn/nnmaster -l -r -C -h -B && echo "NNMASTER started"
>fi

>But it seems to me a little wasteful to have nnmaster looking every ten
>minutes for new articles, when the Cnews unbatching only happens once an
>hour.  So what do you think, should I start running nnmaster out of the
>crontab right after unbatching?  How do I convert?  Do I lose anything by
>that?  (Well, I guess it means I have to wait a whole hour to see local
>postings, but that doesn't bother me too much)
>Anything else?

This is no problem what-so-ever. I used to start nnmaster only twice a
night (once just after working hours and once just before working hours)
and that worked like a blaze. You could even decide to start it right
after each newsrun. In this way you can control both newsrun as well as
nnmaster by means of newsrunning {on,off} to have a optimal coupled
pair.
Now for the but:
This works fine when you only read and write to the outside world. When
you come to the stage of creating and using _local_ news groups you will
find it somewhat annoying to post an article to a local newsgroup and
find it in your nn database no sooner than the other day. The article
_does_ reside in the cnews spool directory, but does not yet appear in
the nn database, because it hasn't been updated yet.

So, if you don't have any local groups you can just as easyly run it
each newsrun or once/twice a night. If you do have local groups you are
better off running nnmaster every ten minutes or so. BTW: ten minutes is
the default, use "-r minutes" to choose an other interval.

Hope this helps!
-- 
-------------------------------------------------------------------------------
email address:    pe@dasc.nl           Data Sciences BV
Real name:        Peter J. Ebbelink    P.O.Box 226699, 1100 DD Amsterdam
Function:         System Manager IVS   Voice: 31 20-6520652
Disclaimer: These are my own opinions. My boss denies my very existence.
---------------------------------------------------------------------------
#include <stddisclaimer.h>       This might not be the view of my employer.
Technical Details
Message-ID: <1991Oct10.142439.6261@dasc.nl>
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!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!wupost!uunet!mcsun!hp4nl!dascnl!pe
References: <1991Oct9.014747.24796@geovision.gvc.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991Oct10.142439.6261@dasc.nl>
Subject: Re: nn with cnews
Date: Thu, 10 Oct 1991 14:24:39 +0000
From: pe@dasc.nl (Peter J. Ebbelink)
References: <1991Oct9.014747.24796@geovision.gvc.com>
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!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!wupost!uunet!mcsun!hp4nl!dascnl!pe
Newsgroups: news.software.nn
Keywords: Cnews nn
Organization: None
Lines: 44