🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39799

Re: INN 2.2.1 Error!!!

#39799
From: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
48 lines
2546 bytes
SmarttNet Technical Support <tech@smartt.com> writes:

> Could have been the case since at the same time I was being hit with
> over 100 newgroup commands for alt.hipcrime.* which I have my upstream
> filtering out.  I never heard about this controlchan so I dug up the
> controlchan.8 files form the source and it say all I had to do was to
> add true to usecontrolchan in inn.conf.  So what's this about adding it
> to the newsfeeds file?

The INN 2.3 documentation has:

  inn.conf
[...]
    usecontrolchan
        If set to true, all control messages except for cancels will be
        ignored by innd so that they can be processed by an external program
        (controlchan).  This is *highly* recommended, since controlchan will
        serialize control message processing and prevent your system load
        from exploding when you get a flood of control messages.  The only
        reason why it isn't enabled by default is that it requires you to
        set up a special feed in newsfeeds (see below) and requires you to
        run:

            # cd /usr/include
            # h2ph * sys/*

        so that the Sys::Syslog Perl module works correctly.  (Otherwise,
        controlchan will log messages to errlog, which probably isn't what
        you want.)
[...]

  newsfeeds
[...]
    Finally, if you set usecontrolchan to "yes" in inn.conf, you need to set
    up an entry for the controlchan program.  This entry should look like:

        controlchan!\
            :!*,control,control.*,!control.cancel\
            :Tc,Wnsm:/usr/local/news/bin/controlchan

    (modified for the actual path to controlchan if you put it somewhere
    else).  You should be able to just uncomment the example entry in the
    sample newsfeeds file, making sure the path is correct.

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

Technical Details
Message-ID: <yliu5ds2wl.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <37dd19fc.1637656@news.smartt.com> <37de89f6.4998031@news.smartt.com> <ylvh9ds7ks.fsf@windlord.stanford.edu> <37de9cd2.9826296@news.smartt.com>

Show Full Headers
Complete Article Headers
Message-ID: <yliu5ds2wl.fsf@windlord.stanford.edu>
Subject: Re: INN 2.2.1 Error!!!
Date: Tue, 14 Sep 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <37dd19fc.1637656@news.smartt.com> <37de89f6.4998031@news.smartt.com> <ylvh9ds7ks.fsf@windlord.stanford.edu> <37de9cd2.9826296@news.smartt.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 525098436
Organization: The Eyrie
Newsgroups: news.software.nntp