🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Russ Allbery Thu, 18 Mar 1999 00:00
Re: innd 2.2 questions...
#36007
Author: Russ Allbery
Date: Thu, 18 Mar 1999 00:00
67 lines
3583 bytes
[ Posted and mailed. ]

Note crosspost.  news.software.nntp is the place to ask questions about
running INN servers.

Daniel Suen <ttdsuen@ln.edu.hk> writes:

> 1. How do I gracefully terminate the innd? I know that "rc.news" starts
>    up the server, but it does not take "stop" argument to kill the innd
>    process.

        ctlinnd pause meow
        ctlinnd throttle meow
        ctlinnd shutdown meow

with some pauses between each one.  (The last argument is whatever
"reason" you want to use; it gets dumped into syslog.)  The full sequence
may not be necessary, but I do it out of paranoia to let the server have a
chance to clear pending incoming messages.

> 2. When expiring articles in both traditional way of storing news
>    articles and cnfs, when considering threads of related articles, if
>    one of the article in a thread expires, will all other articles in
>    the same thread expire as well? I guess they won't, but then what
>    would happen for the one that has expired, both in traditional store
>    method and cnfs?

No, whole threads aren't expired.  Expiry is entirely based on individual
articles.  In tradspool, the article will be deleted by the fastrm process
run by expire; in a CNFS buffer, the space used by the article is
overwritten with new articles when the buffer wraps around to it again.

The nightly news.daily run doesn't expire articles with CNFS; only the
buffer wrapover does that (articles are "expired" when they're
overwritten).

> 3. I've been trying to synchronize two servers, one running 1.4unoff4,
>    the other is running 2.2, and I made the 2.2 version as the slave and
>    have the master(1.4unoff4 with -x option to innd) feeding the slave
>    two hierachies of articles. Now, I can't post to 2.2 server.

You may have to tell your 2.2 server to use a remote server to post
through if you're running in slave mode.  See the inn.conf man page (I'd
give more detail, but I've not set this up myself).

>    Is this normal?  Also, later, I shall upgrade the 1.4unoff4 to
>    2.2(freshly install a new server), and how do I synchronize the two
>    servers with roles swapped this time? There is no "-x" option for
>    innd-2.2 anymore. What I want is to minimize the impact on news
>    clients, who might need to reconfigure their software in order to
>    access the new news server.

I'm not sure how to do slaving with a 1.4unoff4 server; maybe someone else
here will know.

> 4. I don't seem to be getting any nnrp log files, and please advise if
>    there is any stats/reporting tools on nnrp accesses. So far, I know
>    innreport does incoming/outgoing traffic/articles reporting, but no
>    nnrp access information.

They're logged via syslog with priority notice and class news.  You may
need to reconfigure your syslog.conf to make sure that goes somewhere.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: innd 2.2 questions...
#36001
Author: Phossil Phuel Phluffy
Date: Thu, 18 Mar 1999 00:00
25 lines
1515 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

Russ>         ctlinnd throttle meow

Russ> with some pauses between each one.  (The last argument is whatever
Russ> "reason" you want to use; it gets dumped into syslog.)

That meow does serve a vital function:

=====
news:~$ ctlinnd throttle meow
Ok
news:~$ telnet 0 119
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
400 meow
Connection closed by foreign host.
=====

Depending on your server configuration, it might be a good idea to
watch what goes into that one so as not to frighten humorless or
easily confused clients.

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