🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #35282

Re: INN 2.2 Upgrade question

#35282
From: bill davidsen
Date: Wed, 10 Feb 1999 00:00
50 lines
3397 bytes
In article <brad-1002991527170001@brad.techos.skynet.be>,
Brad Knowles <brad@shub-internet.org> wrote:
| In article <79s38i$46na$1@newssvr03-int.news.prodigy.com>,
| davidsen@tmr.com (bill davidsen) wrote:
| 
| > Unfortunately not. Load will jump from 2.5 to 100-300 for no particular
| > reason. Note that I only saw this with nnrpd in daemon mode without the
| > "nicekids" patch I put up the other day. One thing which causes load to
| > climb like this is actived failing. While it was still running, I wonder
| > if it was getting enough CPU.
| 
|     When actived dies, all the nnrpd processes have to try to open the
| active file themselves, and this absolutely kills any machine on the
| planet of which I am aware.  We have a little monitoring script I wrote to
| make sure that actived is always running, and if it's not, to restart it. 
| It's a real stupid script, and I'm sure that there are way better ways to
| do it, but it seems to work.

I haven't seen actived die in so long I can't remember when. And without
restarting, after the load came down things working "right" again, and
while the load was up actived did accumulate some CPU, so I limit my
speculation to not getting enough rather than a failure in actived.

| > Haven't had a problem since I started running the reader processes nice
| > (4), but that doesn't mean it isn't lurking out there. I'll post if I
| > see it again with my current setup.
| 
|     Running the reader processes with a slight nice value might help, but
| I'd be more inclined to focus on making sure that actived is running, and
| if it seems slow and like it's not getting enough CPU, then to give it a
| slight negative nice value.

Since system processes like innd, actived, nnrpd daemon and expire will
use only about 30% of the CPU worst case, I have no worries putting the
readers at a lot of nice if that's what it takes. There's nothing but
news to compete for the resources, and if the system processes bog
everyone is unhappy. I used to set negative nice (nasty?) but decided
that as long as the users were all at the same nice I wouldn't hurt
them, no matter how low the priority. Slow system processes result in
backlogs and slow connects, both causes of user noise ;-)
-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.
	--Ted Symons(?)




Technical Details
Message-ID: <79s6ta$434g$1@newssvr03-int.news.prodigy.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: <79a6ko$poi$1@mulga.cs.mu.OZ.AU> <m24sozdksc.fsf@twocups.sirinet.net> <79s38i$46na$1@newssvr03-int.news.prodigy.com> <brad-1002991527170001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <79s6ta$434g$1@newssvr03-int.news.prodigy.com>
Subject: Re: INN 2.2 Upgrade question
Date: Wed, 10 Feb 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <79a6ko$poi$1@mulga.cs.mu.OZ.AU> <m24sozdksc.fsf@twocups.sirinet.net> <79s38i$46na$1@newssvr03-int.news.prodigy.com> <brad-1002991527170001@brad.techos.skynet.be>
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: 442823002
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr03-int.news.prodigy.com 918658794 134288 199.4.137.118 (10 Feb 1999 14:59:54 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 10 Feb 1999 14:59:54 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com