🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Shiloh Costa Thu, 30 Jan 1997 00:00
INN: load over 112? Help! Its crazy!
#14584
Author: Shiloh Costa
Date: Thu, 30 Jan 1997 00:00
136 lines
5940 bytes
PLEASE HELP!  MY USERS DEPEND ON IT! (Me too...)
 
We've installed INN 1.5.1 on Linux, Kernal is 2.0.0, running
on a Pentium 120, with 6 gigs of harddrive space.  We have about 600
newsgroups in our active file.  Not that many really...
 
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
 
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.
 
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
    1  ?  S     0:03 (init)
    2  ?  SW    0:00 (kflushd)
    3  ?  SW<   0:00 (kswapd)
    4  ?  SW    0:00 (nfsiod)
    5  ?  SW    0:00 (nfsiod)
    6  ?  SW    0:00 (nfsiod)
    7  ?  SW    0:00 (nfsiod)
   12  ?  S     0:02 /sbin/update 
   13  ?  S     0:00 /sbin/kerneld 
   37  ?  S     0:05 /usr/sbin/crond -l10 
   65  ?  S     0:45 /usr/sbin/syslogd 
   67  ?  S     0:00 /usr/sbin/klogd 
   71  ?  S     0:00 /usr/sbin/inetd 
   73  ?  S     0:00 (lpd)
   75  ?  S     0:00 /usr/sbin/rpc.mountd 
   77  ?  S     0:00 /usr/sbin/rpc.nfsd 
   84  ?  S     0:00 sendmail: accepting connections on port 25 
  102   1 S     0:00 (agetty)
  103   2 S     0:00 (agetty)
  104   3 S     0:00 (agetty)
  105   4 S     0:00 (agetty)
  106   5 S     0:00 (agetty)
  107   6 S     0:00 (agetty)
  145  ?  S     0:00 (in.telnetd)
  146  p0 S     0:01 (bash)
 3758  ?  S     0:00 in.telnetd 
 3759  p1 S     0:01 -bash 
 3766  p1 R     0:00 ps a 
   69  ?  S     0:00 (rpc.portmap)
  163  ?  S     5:58 /usr/news/bin/innd -p4 
  166  p0 S     0:00 (sh)
  168  p0 D     0:06 (innwatch)
 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 
 3573  ?  D     0:00 shlock -p 3559 -f /var/news/locks/LOCK.nntpsend 
 3581  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3595  ?  D     0:00 shlock -p 3581 -f /var/news/locks/LOCK.nntpsend 
 3599  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3613  ?  D     0:00 shlock -p 3599 -f /var/news/locks/LOCK.nntpsend 
 3618  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3632  ?  D     0:00 shlock -p 3618 -f /var/news/locks/LOCK.nntpsend 
 3636  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3650  ?  D     0:00 shlock -p 3636 -f /var/news/locks/LOCK.nntpsend 
 3654  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3668  ?  D     0:00 shlock -p 3654 -f /var/news/locks/LOCK.nntpsend 
 3672  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3686  ?  D     0:00 shlock -p 3672 -f /var/news/locks/LOCK.nntpsend 
 3696  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3710  ?  D     0:00 shlock -p 3696 -f /var/news/locks/LOCK.nntpsend 
 3717  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3731  ?  D     0:00 shlock -p 3717 -f /var/news/locks/LOCK.nntpsend 
 3735  ?  S     0:00 sh /usr/news/bin/nntpsend 
 3749  ?  D     0:00 shlock -p 3735 -f /var/news/locks/LOCK.nntpsend 
MDI:~# 
 
 


Re: INN: load over 112? Help! Its crazy!
#14613
Author: Dan Swartzendruber
Date: Fri, 31 Jan 1997 00:00
43 lines
2204 bytes

Hmmm, this is very similar to a problem I've been seeing.  Linux 2.0.27 with
the 'md' device in raid-0 (striping) mode.  Several times/hour the load goes
up to 10, 20 or higher, and no-one can do anything.  After anywhere from 30
seconds to 10 minutes, it drops back down to 2-3 and all is okay for another
10 minutes or so.  Argghhhh....

In article <E4tAL8.J0t.0.bloor@torfree.net>, costa@mdi.ca wrote:

>PLEASE HELP!  MY USERS DEPEND ON IT! (Me too...)
> 
>We've installed INN 1.5.1 on Linux, Kernal is 2.0.0, running
>on a Pentium 120, with 6 gigs of harddrive space.  We have about 600
>newsgroups in our active file.  Not that many really...
> 
>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
> 
>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

[snip]

-- 

Dan Swartzendruber


Re: INN: load over 112? Help! Its crazy!
#14781
Author: bill davidsen
Date: Wed, 05 Feb 1997 00:00
169 lines
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

































































Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads