🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59256

Re: LOAD

#59256
From: Greg Andrews
Date: Fri, 21 Jun 2002 19:58
66 lines
3527 bytes
homer@adore.lightlink.com (Homer Wilson Smith) writes:
> 
   [discussion of hypothetical cpu loads]
>
>     Thus from looking at the load alone, it is not immediately
>possible to tell whether the newsserver is keeping up with the
>articles that are coming in.
>

Yes.  This is VERY IMPORTANT.

You discussed cpu load and concluded that cpu load does not
correspond to a news server's ability to serve news to readers
and transmit feeds while also receiving incoming feeds.

That's right.  The **cpu** load does not give you this kind of
indication.

The other kinds of loads on a news server correspond better with
the server's ability to keep up with incoming feeds.  For example,
the load on the spool disks can slow news down without making the
cpu load climb.  Running low on virtual memory and making the
sytem page/swap a lot can also slow news down without making the
cpu load rise much.


>
>     Is there a way to know if the server is failing to take articles
>without bugging feeds admins?
> 

The simple answer is that you watch the log of the incoming articles,
and note how may articles you're getting per hour, and the average age
of each article that hour.  I used to get these stats from INN 1.x's
history database (the text file, not the db files).

You have to discard the oldest 10% because misconfigured hosts can
make an article look younger than it reall is.  (you also have to
ignore articles with a negative age [time travel!] for the same reason)

When you see the average age of the incoming articles is climbing, then
you're probably not keeping up with your feed.  You'll usually also see
the number of articles per hour or per day drop also.  Traffic rates
rise and fall during the day and during the week, so you have to compare
from day to day.  Also, posting floods and cancel floods can produce
spikes or dips in these stats.  So can the nightly expire on a traditional
new spool filesystem.


The other stats that can indicate (less directly) that you're falling behind
are your machine's disk i/o load stats, virtual memory (paging/swapping)
stats, and whether all of your outgoing feeds are falling behind.

Like the incoming article count/age stat, these other stats normally rise
and fall during the day and week.  So it's best to compare them with
previous days and/or weeks.


The best indicator is the age of the incoming articles, though.

  -Greg
-- 
:::::::::::::  Greg Andrews  :::::  gerg@panix.com  :::::::::::::
     I have a map of the United States that's actual size.
				-- Steven Wright
Technical Details
Message-ID: <af00hp$sq2$1@reader1.panix.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail
References: <3d13638c$1@news2.lightlink.com>

Show Full Headers
Complete Article Headers
Message-ID: <af00hp$sq2$1@reader1.panix.com>
Subject: Re: LOAD
Date: Fri, 21 Jun 2002 19:58:49 +0000
From: gerg@panix.com (Greg Andrews)
References: <3d13638c$1@news2.lightlink.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail
Newsgroups: news.software.nntp
Organization: I have a map of the United States that's actual size
Lines: 65
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader1.panix.com 1024689529 29506 166.84.1.2 (21 Jun 2002 19:58:49 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 21 Jun 2002 19:58:49 +0000 (UTC)
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: gerg@panix.com (Greg Andrews)