Article View: news.software.nntp
Article #21265Re: NNRPD resource consumption
From: Mark Hittinger
Date: Thu, 04 Sep 1997 00:00
Date: Thu, 04 Sep 1997 00:00
51 lines
2796 bytes
2796 bytes
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! You might want to do some experiments like so: Get a copy of top and watch those bad boys (maybe even toggle your tracing on to see their suck commands). Measure your average nnrpd process run-down cpu time consumption. You may find that a typical nnrpd will exit with less than 20 seconds of processor consumed. You may discover that any nnrpd that consumes more than 20 seconds of cycles is probably a suck feed. When they get beyond a certain level renice them down below your typical NICE_KIDS. You can try this manually at first just to get a flavor of what I'm talking about. The idle time won't come back but your news server(s) might provide a little more fairness to the real human point-and-clickers. With a hot i/o subsystem and good network connectivity the suck feeds will take all the cycles (and other resources) that you permit them to. They will try to consume any resources freed up by whatever optimizations you care to make :-) Thats why I said it could get worse :-) Just something to mull over :-) And I don't want to restart the anti-suck debate BTW. :-) Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Technical Details
Message-ID:
<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-mailReferences:
<5unqlf$jfa@shell.monmouth.com>Show Full Headers
Complete Article Headers
Message-ID: <5uo3j0$fah@dfw-ixnews1.ix.netcom.com> Subject: Re: NNRPD resource consumption Date: Thu, 04 Sep 1997 00:00:00 +0000 From: bugs@freebsd.netcom.com (Mark Hittinger) References: <5unqlf$jfa@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 X-Deja-AN: 269951084 Distribution: inet Organization: Netcom X-NETCOM-Date: Thu Sep 04 11:59:18 PM CDT 1997 Newsgroups: news.software.nntp