Article View: news.software.nntp
Article #14781Re: INN: load over 112? Help! Its crazy!
From: bill davidsen
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
169 lines
4927 bytes
4927 bytes
[ posted and mailed ] In article <E4tAL8.J0t.0.bloor@torfree.net>, Shiloh Costa <costa@mdi.ca> wrote: | We send and receive news really well. If I run news.daily as NEWS, | it runs fine. But during the night, for no apparent reason, it just | bogs down and the load just keeps on increasing. I've double checked | all the permissions to make sure practically everything is owned by | NEWS. The only thing I run as root is to start the innd daemon. | | After I ran news.daily, this is the before and after effect: | | BEFORE SIZE AFTER SIZE | /var/log/news/news 10 meg 88K | /var/news/etc/history 40 meg 39 meg | /var/news/etc/history.pag 7 meg 4 meg Little tiny numbers... | In my syslog, I get: | | nnrpd[3457]: load 112>16 | nnrpd[3457]: exit articles 0 groups 0 | nnrpd[3457]: times user 0.010 system 0.080 elapsed 0.907 | | When a user tries to connect to the newserver, they get something like: | Error 400, load is at 112, try later. I have a few thoughts on this. The one thing which I see really run up my load average is to have the NOV database out of date. When that happens I get high load (not that high, but up from 2.x to 40+, with only a few hundred users at a time. And what I think of as possibly running up the load in the middle of the night is someone taking a suck feed through the NNRPD port. You might look for a connect with a ton of articles. | | if I try to ls /var/news/locks - I can totally forget it. It just hangs | there forever. Some nasty things must be going on in that directory! | | HERE is what PS A tells me....(load was at 32>16 this time): | | ps a | PID TTY STAT TIME COMMAND ---------------- snip ---------------- | 3108 ? S 0:00 (nntpsend) | 3134 ? S 0:00 (sh) | 3135 ? DW 0:00 (rm) | 3136 ? D 0:00 (rm) | 3145 ? S 0:00 (nntpsend) | 3159 ? DW 0:00 (shlock) | 3176 ? S 0:00 (nntpsend) | 3190 ? DW 0:00 (shlock) | 3199 ? S 0:00 (nntpsend) | 3213 ? D 0:00 (shlock) | 3222 ? S 0:00 (nntpsend) | 3236 ? D 0:00 (shlock) | 3252 ? S 0:00 (nntpsend) | 3266 ? D 0:00 (shlock) | 3272 ? S 0:00 sh /usr/news/bin/nntpsend | 3286 ? D 0:00 (shlock) | 3291 ? S 0:00 sh /usr/news/bin/nntpsend | 3305 ? DW 0:00 (shlock) | 3314 ? S 0:00 (nntpsend) | 3328 ? DW 0:00 (shlock) | 3333 ? S 0:00 sh /usr/news/bin/nntpsend | 3347 ? DW 0:00 (shlock) | 3355 ? S 0:00 (nntpsend) | 3369 ? DW 0:00 (shlock) | 3375 ? S 0:00 (nntpsend) | 3389 ? D 0:00 (shlock) | 3395 ? S 0:00 sh /usr/news/bin/nntpsend | 3409 ? DW 0:00 (shlock) | 3418 ? S 0:00 sh /usr/news/bin/nntpsend | 3432 ? DW 0:00 (shlock) | 3439 ? S 0:00 sh /usr/news/bin/nntpsend | 3453 ? D 0:00 (shlock) | 3459 ? S 0:00 sh /usr/news/bin/nntpsend | 3473 ? D 0:00 (shlock) | 3483 ? S 0:00 sh /usr/news/bin/nntpsend | 3497 ? D 0:00 (shlock) | 3503 ? S 0:00 sh /usr/news/bin/nntpsend | 3517 ? D 0:00 (shlock) | 3521 ? S 0:00 sh /usr/news/bin/nntpsend | 3535 ? D 0:00 shlock -p 3521 -f /var/news/locks/LOCK.nntpsend | 3539 ? S 0:00 sh /usr/news/bin/nntpsend | 3553 ? D 0:00 shlock -p 3539 -f /var/news/locks/LOCK.nntpsend | 3559 ? S 0:00 sh /usr/news/bin/nntpsend ---------------- lots more of same ---------------- Something is wildly wrong with your nntpsend, possibly caused by a lock problem. How often do you run nntpsend, anyway? Looks like it might be more often than is desirable... You might try not running nntpsend at all in the problem hours, just as a diagnostic. You might also do a small script which does both the ls and the ps every five minutes, to see if you can see something happening just before the wheels fall off. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<5dadvo$t9o@usenet1y.prodigy.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-mailReferences:
<E4tAL8.J0t.0.bloor@torfree.net>Show Full Headers
Complete Article Headers
Message-ID: <5dadvo$t9o@usenet1y.prodigy.net> Subject: Re: INN: load over 112? Help! Its crazy! Date: Wed, 05 Feb 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <E4tAL8.J0t.0.bloor@torfree.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: 214646153 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com