πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80927

Re: Innfeed - was Re: [ANNOUNCE] INN 2.5.0 release candidate available

#80927
From: D. Stussy
Date: Thu, 07 May 2009 18:51
83 lines
4653 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gtu54v$2qv$1@news.trigofacile.com...
> > May 6 01:37:51 (none) innfeed[18701]: ME config: no definition for
required
> > key response-timeout
> >
> > It obviously runs fine without setting these in innfeed.conf.
>
> Isn't it said in the innfeed.conf sample that:
>
> ##
> ## Defaults for all peers. These must all exist at
> ## global scope. Any of them can be redefined
> ## inside a peer or group definition.
> ##
>
> response-timeout:               300
>
> Why wouldn't you want not to list it in innfeed.conf?
> I believe the log is here to point out a possible problem in your
configuration;
> maybe default values are not the values you want.
>
> Would it be OK if the log is in news.notice instead of news.err?
> I believe it would bother you less -- but they would appear in innreport
so
> you would not be happy with that either!
>
> I do not know why the log is done this way (if I make the parameter not
required,
> it will still be logged that a missing value has been added!).

Yes, it does say that.  However, it's not true.  Innfeed continues with
reasonable defaults.  I am of the habit of not writing configuration files
that include default values, so by habit, I omit them.  Obviously, since it
runs, they are NOT required.  ;-)

(If it were truly required, innfeed would abort if they were absent from
the configuration.)

> > Updated: Thu May 07 00:07:53 2009
> > (peers: 31 active-cxns: 48 sleeping-cxns: 1 idle-cxns: 1)
> >
> > When it happens, the peer count drops to 30.  It's always giganews that
> > disappears - and I don't mean just its IP address(es).  The ENTIRE
entry
> > disappears.
>
> The entire entry disappear when there is no active innfeed connection to
it.

Upon further inspection, I found this message:

/news/log/news.notice:May  7 02:20:08 (none) innfeed[3459]:
nntp.giganews.com:0 connection vanishing
(appears only in innfeed/host.c - line 2053:  hostCxnGone(), called by
hostClose() and delConnection() )

However, the problem is that innfeed FAILS TO RECREATE an entry for it
later on when it has data (articles) to send.  There are no .lock or
.output files in /news/innfeed (its spooling directory).  Instead, it drops
the articles.  Only the sending to innfeed of the HUP signal (thus
re-reading its configuration) restores the entry.  A week ago, I received a
message from giganews asking whether I had ceased the peering!  Apparently,
it stayed down for a couple of days.  With "initial-connections = 1", I
usually have at least one connection to every peer (even if idle) all the
time (unless they are down or paused).

With 50k+ of articles per day queued and attempted to send (offered), the
connection should stay up (including idle for up to an hour) as that
averages 1.7 seconds between articles.

hostClose(), called by configHosts(), implies that the removal is because
the host was deleted from the configuration.  It was NOT.

hostCxnGone() is also called by delConnection(), which seems to be called
from many places in connection.c.

I had this problem with inn 2.4.6 also.  Therefore, it's not a 2.5.0rc2
change.  I have set up a cron-job to send the signal every 4 hours (on the
59th minute) to get around this problem for the time being.

Technical Details
Message-ID: <gtvajh$ckq$1@aux.snarked.org>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gtsln5$svg$1@aux.snarked.org> <gtsnpe$n4u$1@news.trigofacile.com> <gtu2c9$3os$1@aux.snarked.org> <gtu54v$2qv$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gtvajh$ckq$1@aux.snarked.org>
Subject: Re: Innfeed - was Re: [ANNOUNCE] INN 2.5.0 release candidate available
Date: Thu, 7 May 2009 11:51:40 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gtsln5$svg$1@aux.snarked.org> <gtsnpe$n4u$1@news.trigofacile.com> <gtu2c9$3os$1@aux.snarked.org> <gtu54v$2qv$1@news.trigofacile.com>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 83
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net
X-Trace: aux.snarked.org 1241722289 12954 71.106.211.188 (7 May 2009 18:51:29
 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Thu, 7 May 2009 18:51:29 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478