🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21301

Re: NNRPD resource consumption

#21301
From: Ken Leland
Date: Fri, 05 Sep 1997 00:00
39 lines
2275 bytes
In article <5uphmp$86q$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>: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.
>:>>...
>:>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.
>

I initially thought I had dedicated (T1) customer(s) doing a job on me,
but it wasn't the case. These nnrpd cpu eaters are normal 33.6 dialups,
and they are usually in XOVER. 

Will definitely put this solution in my bag of tricks for the next
class of nuisance though.

Noted your wire-pulling response to the /dev/null thread. Am trying to
figure out does news make you strange or do only strange people do news.
Have tentatively concluded the former.

Ken Leland
Monmouth Internet

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

Show Full Headers
Complete Article Headers
Message-ID: <5upijp$2oi@shell.monmouth.com>
Subject: Re: NNRPD resource consumption
Date: Fri, 05 Sep 1997 00:00:00 +0000
From: kwl@shell.monmouth.com (Ken Leland)
References: <5unqlf$jfa@shell.monmouth.com> <5uo3j0$fah@dfw-ixnews1.ix.netcom.com> <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
X-Deja-AN: 270055708
Distribution: inet
Organization: Monmouth Internet
Newsgroups: news.software.nntp