🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tim Fardell Wed, 25 Apr 2012 20:19
innfeed: disabling streaming mode
#84850
Author: Tim Fardell
Date: Wed, 25 Apr 2012 20:19
20 lines
2025 bytes
I want to disable streaming mode between a pair of INN servers. 

On both servers, I have added "streaming: false" and "max-connections: 1" in
both innfeed.conf and incoming.conf. 

On the first server, I restarted INN. This server shows "want streaming: no" and
"is streaming: no" in innfeed.status. This looks correct. 

The second server is live, so I don't want to restart INN. On this server I sent
SIGHUP to the innfeed process, which I believe is supposed to make it pick up
changes in innfeed.conf, and used ctlinnd reload to pick up the changes to
incoming.conf. 

However, on the second server, innfeed.status shows "want streaming: no" and "is
streaming: yes". This looks wrong to me, and suggests that streaming mode is
still being used. 

What did I do wrong? 
-- 
Please remove all-your-clothes before replying. 
Re: innfeed: disabling streaming mode
#84849
Author: Russ Allbery
Date: Wed, 25 Apr 2012 20:24
20 lines
2147 bytes
Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:

> The second server is live, so I don't want to restart INN. On this
> server I sent SIGHUP to the innfeed process, which I believe is supposed
> to make it pick up changes in innfeed.conf, and used ctlinnd reload to
> pick up the changes to incoming.conf.

> However, on the second server, innfeed.status shows "want streaming: no"
> and "is streaming: yes". This looks wrong to me, and suggests that
> streaming mode is still being used.

You want to ctlinnd flush the innfeed channel feed (usually called
innfeed!) to restart innfeed.  I don't think SIGHUP will force it to
reopen all of its connections with remote hosts and renegotiate streaming.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: innfeed: disabling streaming mode
#84855
Author: Tim Fardell
Date: Wed, 25 Apr 2012 20:53
21 lines
2167 bytes
On Wed, 25 Apr 2012 13:24:07 -0700, Russ Allbery <rra@stanford.edu> wrote:

>Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:
>
>> The second server is live, so I don't want to restart INN. On this
>> server I sent SIGHUP to the innfeed process, which I believe is supposed
>> to make it pick up changes in innfeed.conf, and used ctlinnd reload to
>> pick up the changes to incoming.conf.
>
>> However, on the second server, innfeed.status shows "want streaming: no"
>> and "is streaming: yes". This looks wrong to me, and suggests that
>> streaming mode is still being used.
>
>You want to ctlinnd flush the innfeed channel feed (usually called
>innfeed!) to restart innfeed.  I don't think SIGHUP will force it to
>reopen all of its connections with remote hosts and renegotiate streaming.

Ah, that'll be it. Thanks! 

-- 
Please remove all-your-clothes before replying. 
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