🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24156

Re: Innfeed error..

#24156
From: Department of Complaints, Insult...
Date: Mon, 08 Dec 1997 00:00
42 lines
2668 bytes
On Mon, 8 Dec 1997, Jeff Garzik wrote:

> > It still grows without bound, though.  It can reach over 20 megs
> > in just a couple of hours.
> 
> The best thing to do is keep your max-queue-size low (25 or 35 is a good
> number),

    You call 25 to 35 *low*?  <boggle>  Here I've been typically issuing
no more than 5 CHECKs at a time, 3 to fast peers, 1 to Diablo sites or a
non-streaming IHAVE to INN peers for articles above a few k in size, just
to keep the number of wasted duplicate rejects down...

    If you split feeds by size, you can tune the number of CHECKs you give
for large articles to be small, meaning less memory usage for innfeed
(fewer articles simultaneously being handled), reducing rejects caused by
latency from the time of CHECK to article transfer, and keeping the large
articles from holding back the smaller ones.  Everybody wins.

    Of course this means you would need to open far more connections to
the sites you feed.  For those sites (*ahem* such as yours) which limit me
to four incoming connections, I either need to throw away your backlogs,
or up the number of CHECKs I gave at a time to (in your case) 25, and
still I get less than one article to you per second.  I hate sucky
netwerkz.

    Of the six innfeed processes we're running right now, five of them
(handling articles no larger than 5k) are between 1,5M and 4M size, while
the single innfeed handling a few non-streaming feeds of large articles is
at the moment around 14M, but has been known to get significantly larger.

    Note that if you use the no-backlog: feature of innfeed-0.10.1.6 and
prior, you need to apply a simple patch or you will see memory bloat from
a known memory leek.  This is fixed in 0.10.1.7, although there is a
simple one-line fix needed for host.c to get it to compile properly.


Barry Bouwsma, garlic eater


Technical Details
Message-ID: <Pine.BSF.3.96.971208221215.18463B-100000@coredump.int.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <348C176C.36F81C5E@wcg.net> <348c2d5d.0@131.162.2.91> <348C3AAC.F5346B92@wcg.net> <348c52d6.0@131.162.2.91> <66hkrc$3oj$6@news1.exit109.com> <348C61AE.7248B720@spinne.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971208221215.18463B-100000@coredump.int.tele.dk>
Subject: Re: Innfeed error..
Date: Mon, 08 Dec 1997 00:00:00 +0000
From: "Department of Complaints, Insults, and Verbal Abuse" <abuse@tele.dk>
References: <348C176C.36F81C5E@wcg.net> <348c2d5d.0@131.162.2.91> <348C3AAC.F5346B92@wcg.net> <348c52d6.0@131.162.2.91> <66hkrc$3oj$6@news1.exit109.com> <348C61AE.7248B720@spinne.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.mbox.zip!not-for-mail
X-Deja-AN: 296384846
X-Sender: abuse@coredump.int.tele.dk
Organization: #503
Reply-To: ag786@yfn.ysu.edu
Newsgroups: news.software.nntp