🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22411

Re: feeders opening multiple connections

#22411
From: Jerry Aguirre
Date: Wed, 15 Oct 1997 00:00
42 lines
2681 bytes
In article <34327324.64B5@mns.net>, Todd Romero  <todd@mns.net> wrote:
>For example, when sprintlink connects to a feeder of ours, it opens up 6
>connections simultaneously. That basically cause everything to come to a
>crawl, as I look at the incoming news log, it seems to trickle in, and

There are a couple of ways that multiple incomming feeds can slow
down processing instead of speeding it up as intended.  Most obvious would
be if the extra RAM usage caused your system to page.  I would tend to
doubt this is the case though.

A more obvious cause is if you are getting lots of duplicates and history
lookup time is a limiting factor.  In that case the 6 extra feeds will be
causing innd to lookup a lot of message IDs in the history file but not really
transfer any articles.  In addition to the obvious additional load checking
lots of existing IDs is actually more overhead than checking for missing
IDs.

The DBZ history lookup uses several hash values which if they fail to
match it can quickly report that there is no such entry.  There is no
quick check that reports that a message ID really exists.  The system has
to go all the way to the history text file and compare strings.   On
most servers this is a huge file.  Paging it into RAM can ruin your
cache hit ratio.

I would guess that your sprintlink feed is heavily backlogged.  Thus
when they connect you don't see any additional articles but you do see
extra load from refusing duplicates.  You might be able to tell them to
delete the queue and start fresh.  The log entries should tell you this
as number of articles refused is reported there.

You can also protect yourself from excessive load or abuse by limiting the
number of incomming connections.  For example you can run:

	ctlinnd param i 4

to limit your server to 4 incomming feeds.  Unfortunately this could be
4 from sprintlink locking out your other feed.  It depends on which has
the more "aggressive" feeding software.  You can make this change more
permanent using the command line option to innd or the config.data file.

Technical Details
Message-ID: <621edl$dlj$1@pluto.whowhere.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
References: <34327324.64B5@mns.net>

Show Full Headers
Complete Article Headers
Message-ID: <621edl$dlj$1@pluto.whowhere.com>
Subject: Re: feeders opening multiple connections
Date: Wed, 15 Oct 1997 00:00:00 +0000
From: jerry@rigel.whowhere.com (Jerry Aguirre)
References: <34327324.64B5@mns.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.mbox.zip!not-for-mail
X-Deja-AN: 280572898
Distribution: inet
Organization: WhoWhere?; Mt. View, CA USA
Newsgroups: news.software.nntp