🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21292

Re: NNRPD resource consumption

#21292
From: Matt Dillon
Date: Fri, 05 Sep 1997 00:00
36 lines
2029 bytes
:In article <5uo3j0$fah@dfw-ixnews1.ix.netcom.com>,
:Mark Hittinger <bugs@freebsd.netcom.com> wrote:
:>kwl@shell.monmouth.com (Ken Leland) writes:
:>>                                 At night, during peak, I can have
:>>10 to 15 of them going full tilt out of 100 readers. System time
:>>is at 50+percent when this is going on. Idle at 0.
:>>...
:>>                                I've always had new nnrpds eatup some 
:>>extra resources but never anywhere near this much. This seems to have 
:>>started after I added some more memory recently (from 256 to 512M). 
:>>...
:>>Any thoughts on what should I check next?
:>
:>So you doubled your ram and those nnrpd's (suck feeds) are not quite as
:>i/o bound as they used to be eh?  They probably didn't show up on top before
:>waiting on their reads :-)
:>
:>When we tuned up our I/O subsystems here we saw major problems with cycle
:>consumption by suck feed connected nnrpds.  They can easily swamp your
:>processor(s).  Tricks like pre-created active hash (or actived), sorted
:>mmap'ed overview files, and shared active files don't help.  In fact,
:>in can make it worse!

    Ah, easy solution:  Hack nnrpd to set the SO_SNDBUF socket option to
    something small like 2K.  This should reduce the impact of suck-feeds
    over fast network links.

						-Matt

:>Mark Hittinger
:>Netcom/Dallas
:>bugs@freebsd.netcom.com


Technical Details
Message-ID: <5uphmp$86q$1@flea.best.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
References: <5unqlf$jfa@shell.monmouth.com> <5uo3j0$fah@dfw-ixnews1.ix.netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <5uphmp$86q$1@flea.best.net>
Subject: Re: NNRPD resource consumption
Date: Fri, 05 Sep 1997 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <5unqlf$jfa@shell.monmouth.com> <5uo3j0$fah@dfw-ixnews1.ix.netcom.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: 270023919
Distribution: inet
Organization: Best Internet Communications, Inc - 650 964 BEST
Newsgroups: news.software.nntp