🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73700

Re: Canceling c.cancel

#73700
From: John F. Morse
Date: Mon, 12 Jun 2006 15:40
94 lines
4099 bytes
Russ Allbery wrote:

>John F Morse <xanadu.bbs@invalid.net> writes:
>
>  
>
>>Then I throttled the server with ctlinnd throttle test. Then I stopped
>>and started INN with rc.news. (Is this your suggested method to get
>>inn.conf reloaded?)
>>    
>>
>
>Yeah, that's correct.  If you look with ps, is innd running with the -C
>flag?  That's the first thing to be sure of.
>  
>


With ps aux I see my command option(s):

news     12537  0.0  3.2  7916 4160 ?        Ss   09:10   0:00 
/usr/lib/news/bin/innd -p 3 -C

But why is it still canceling?


>>When I check the control.cancel group on my slave server, I see the
>>cancel message has propagated to that server, and the test message has
>>been canceled. This server does not have the -C option.
>>    
>>
>
>innd will continue to propagate cancel messages even when running with -C.
>-C just says not to act on them.
>  
>


Well, the cancel propagation to the slave server is acted upon, and that 
is expected.

However the cancellation on the main server should not be happening though.

I need a method to cancel myself (er, cancel *messages* by myself <g>), 
so I left the slave server running normally. However if -C really worked 
on the main server, then it wouldn't cancel propagated cancel messages 
from the slave anyway.

I hope ctlinnd cancel <Message-ID> would still work (if the -C option 
starts working) so that I will have some method to cancel an article 
should the need arise.


>>Can I test this -C option simply by entering innd -C in a terminal?
>>    
>>
>
>Starting innd from the command line rather than via rc.news is generally
>not recommended, although it can be done.
>  
>


What I was implying was with innd already running, what would happen if 
I entered innd -C (thinking it would add on the -C if it wasn't read 
from innd.conf). But the ps aux shows it was -- at least -- the option 
part of the command which started the process.

But it doesn't show if it really is running -- only part of the command.

If innd failed to act upon it, which it seems to have failed because 
cancels are still happening, then it is something internal to innd. I 
know of no other way to test it than cancel an article, and then look 
and see if it didn't cancel the article.

Ideas?


>>IOW, will it add the -C option without changing any other options that
>>may be running?
>>    
>>
>
>No, you have to stop and restart innd with the full set of correct
>options.
>


I take this to mean innd cannot have an option changed (added or 
toggled) while it is running. It only receives options when starting up, 
either from the terminal or from inn.conf.

-- 
John
Technical Details
Message-ID: <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net> <e6jn80$3f3$1@puck.litech.org> <agfjg.18942$mF2.12329@bgtnsc04-news.ops.worldnet.att.net> <87pshe4dz1.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <_Vfjg.173401$Fs1.135369@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Canceling c.cancel
Date: Mon, 12 Jun 2006 15:40:42 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <sIFig.162909$Fs1.92381@bgtnsc05-news.ops.worldnet.att.net> <e6jn80$3f3$1@puck.litech.org> <agfjg.18942$mF2.12329@bgtnsc04-news.ops.worldnet.att.net> <87pshe4dz1.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <87pshe4dz1.fsf@windlord.stanford.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 94
NNTP-Posting-Host: 9a1cd63c72a2e311f57a308a9a74ab42
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1150126842
NNTP-Posting-Date: Mon, 12 Jun 2006 15:40:42 GMT