Thread View: news.software.nn
3 messages
3 total messages
Started by News Administrator
Wed, 09 Oct 1991 01:47
nn with cnews
Author: News Administrator
Date: Wed, 09 Oct 1991 01:47
Date: Wed, 09 Oct 1991 01:47
20 lines
1651 bytes
1651 bytes
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? -- Paul Tomblin, News Administrator par excellance. (If you believe that....) news@geovision.gvc.com, uunet!geovision!news, cognos!geovision!news I speak for myself, not the company, but then you already knew that, didn't you?
Re: nn with cnews
Author: David F. Skoll
Date: Wed, 09 Oct 1991 15:18
Date: Wed, 09 Oct 1991 15:18
14 lines
1235 bytes
1235 bytes
In <1991Oct9.014747.24796@geovision.gvc.com> news@geovision.gvc.com (News Administrator) writes: >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. Why not use the "-r 60" option to have nnmaster check only once an hour? Advantage: You don't need to start a new nnmaster process every hour. Disadvantage: nnmaster's wakeup will not be synchronized with Cnews unbatching. (But so what?) -- David F. Skoll
Re: nn with cnews
Author: Peter J. Ebbelink
Date: Thu, 10 Oct 1991 14:24
Date: Thu, 10 Oct 1991 14:24
46 lines
3077 bytes
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.
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