🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28927

Re: Slow news server

#28927
From: Forrest J. Cavalier III
Date: Mon, 08 Jun 1998 00:00
62 lines
4005 bytes
posted and emailed

In article <357BCADB.D10D1A16@nl.uu.net>, franke@nl.uu.net wrote...
[snip]

>> vmstat 1
> procs      memory     page                   disks        faults      cpu
> r b w     avm   fre  flt  re  pi  po  fr  sr da0 da1 da2   in   sy  cs us sy id
> 1 1 0 2171356 38320 4999   4   7   3  51 112   0   0   0  396  373 118 23 17 60
> 1 1 0 2170740 39316  257   2   1   0 484   0   1   8   1  492  856 119 81  5 14
> 3 0 0 2170116 39612  228   9  23   0 148   0   2  46  35  638 1584 297 44  8 48
> 0 1 0 2349812 37736 1341  53  51   0  45   0   1  71  64 1213 4578 568 26 22 52
> 2 0 0 2350624 36960  382   0   3   0 107   0   0   3   2  931 4360 354  6  8 86
> 1 1 0 2350624 36920  365   0   3   0   4   0   0   4   1  365  167 104 95  5  1
> 1 1 0 2172632 36784   67   4   6   0   3   0   0  10   7  503  468 122 87  5  8
> 2 1 0 2170852 38328  462   5   4   0 635   0   0  15  11  452  510  95 70 11 18
> 1 1 0 2171080 38048  784   5   5   0   2   0   0  19  11  772 2672 229 57  9 34
> 1 1 0 2171436 37668  257   9   7   0   0   0   0  19  15  761 3249 276 22 10 68
> 1 1 0 2171440 37424  123   2   8   0   0   0   0   3   4  552 1813 169  2  7 91
> 218 0 2351792 36356 1039   9  34   0  47   0   0  76  55  580  585 279 91  9  0
> 219 0 2174232 35288 1725  23  40   0  76   0   1  80  72  766 1695 416 59 21 21
> 2 1 0 2174564 34604  787  23  36   0   3   0   0  78  73 1048 3499 485 62 12 26

What pagesize is this vmstat reporting?  1024 bytes?  If so, is it true
you have 2G of vm used on a machine with 256Meg of RAM?  Your page faults
are killing you, I think.

What is the spike of "218" processes marked "running"?  What else do you
have on that machine?  INN is only taking up 30M, and 48 nnrpd's should
be another 1-2M each (unless you have nnrpd MMAP on and allow newnews,
which you do.)  256M is adequate, but not if you are running other
processes on your news machine.

Your timer stats show that INN doesn't have any idle time.  But your
artwrite times and hissync times are low.  (The rest of the line is
cut off....)  

No idle time means that INN is not spending much time waiting for
incoming NNTP commands/connections.  There are a number of
situations which can cause this:
    - Really high incoming connection rate.  (e.g. defective clients)

    - The system is too slow to do the INN operations, (but this would
      usually show the INN artwrite or HIS times high.)

    - Other processes are running and pre-empting INN. (This is my
      guess based on the information you have shown so far, especially
      the vmstat.)

So with what you have shown so far, your INN performance is bad because
of other things running on that machine.  Is it possible to disable
those other processes temporarily and see if INN doesn't improve
dramatically?

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
'Pay-as-you-go' commercial support for INN: Only $64/hour! 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access! 
   http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <6lgjp2$3oq$1@news1.epix.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
References: <6l3pr7$fb6$1@ultranews.duc.auburn.edu> <3575C5DA.E0C43686@pobox.com> <3577085C.7CC3@shreve.net> <nrKd1.301$Cs4.2124324@insync> <m3u360nz59.fsf@windlord.Stanford.EDU> <3577f3bd.0@131.162.2.91> <87hg1zamhe.fsf@ibm.net> <35782a7f.0@131.162.2.91> <357B6AA1.8965C021@domaintje.com> <6lgf0r$1e2$1@news1.epix.net> <357BCADB.D10D1A16@nl.uu.net>

Show Full Headers
Complete Article Headers
Message-ID: <6lgjp2$3oq$1@news1.epix.net>
Subject: Re: Slow news server
Date: Mon, 08 Jun 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <6l3pr7$fb6$1@ultranews.duc.auburn.edu> <3575C5DA.E0C43686@pobox.com> <3577085C.7CC3@shreve.net> <nrKd1.301$Cs4.2124324@insync> <m3u360nz59.fsf@windlord.Stanford.EDU> <3577f3bd.0@131.162.2.91> <87hg1zamhe.fsf@ibm.net> <35782a7f.0@131.162.2.91> <357B6AA1.8965C021@domaintje.com> <6lgf0r$1e2$1@news1.epix.net> <357BCADB.D10D1A16@nl.uu.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: 360644032
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Newsgroups: news.software.nntp