Article View: news.software.nntp
Article #21297Re: Feed only servers: How many checks/day?
From: Matt Dillon
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
94 lines
4985 bytes
4985 bytes
:In article <5uo536$gj4$1@darla.visi.com>,
:Mike Horwath <drechsau@yuck.net> wrote:
:>So, trying to figure out how things are going for my feeder box, I
:>have been keeping statistics and such (like many of us do).
:>
:>Been watching the number of articles that are offered to me. First, I
:>was running cyclone on this box (about 30 days or so) and would see
:>the number of articles offered fluxuate between 7M and 11M per day.
:>
:>Now, been running diablo for a while (couple months) and consistantly
:>have 9-12M offered, yet it has been 3 months and the number of
:>articles we accept into our reader server has steadily climbed during
:>...
:>
:>I am just wondering if we are in the ballpark overall.
Yes, that looks good. For a comparison, check out
http://news1.best.com/stats/
The numbers depend on the feed mix, of course. Over half our feeds
are primarily outgoing but the remainder seem to be pretty close
to your mix. I get offered around 8.5 million/day.
:>We have 30 incoming feeds (7 of which offer us less than 100K articles
:>a day with most offering us many more) and 42 outgoing feeds (more
:>than 70% are full feeds but many of those servers can not keep up).
:>We were doing a bunch more feeds but have run out of bandwidth for
:>now. :(
:>
:>Hardware is a PPro 200, 128MB, 2GB root disk and /news (baracuda) and
:>2 2GB wide hawkes striped together. Disk utilzation is doing okay,
:>not grand, but okay.
:>
:>Software is Diablo 1.12 (yeah Matt, I downloaded it, please don't
:>shoot me. Bonus is: it is working great! Thank you so much for your
:>hard work, it is appreciated.) and FreeBSD 2.2.2-REL.
:>
:>Should we be getting more offers per day?
:>
:>Are we taxing something? (David from direct.ca didn't like how long
:>it was for history lookups. diablo 1.12 took care of much of it and
:>cutting 7 feeds one day and 5 more another day took care of the rest)
:>Our bandwidth sucks right now so I expect to be a little behind
:>because of that.
:>
:>Are we okay?
Remember that 1.12 is an in-development version. 1.11 is the current
release but you are correct that I've made some major caching changes in
1.12 to better accomodate heavy loads.
I would review /news/dqueue utilization. It caught me out once... if
a network link dies and you have generous queue file limits in
dnntpspool.ctl, your /news/dqueue directory can fill /news.
The spool is kinda small... I always run diablo with a 2 GB margin
(i.e. dexpire is set for a 2GB free space target) in order to handle
large posting spikes. This puts a 4G spool right on the edge of
viability. It's barely a day's worth of news. I always recommend at
least an 8GB spool.
Beyond that, you want to be careful that you do not run the machine
too close to the wall. It needs to be able to handle spikes without
blowing up. Fortunately there is a real easy way to test diablo under
maximum load... you simply shut it down for 30 minutes, then start it up
again. Monitor the machine to see how long it takes it to catch up
and how well it handles the load.
Any News box taking a lot of feeds has two big stability problems
when it's been offline for a while. The first is that it gets utterly
pounded when it comes back on line... all of it's incoming feeds want
to push a big backlog to it. Diablo is more sensitive to this then
INN due to its forking-server nature. The second problem is with a
loss of caching efficiency. The incoming feeds will not be synchronized
well when playing catch-up vs when caught-up. The loss can be as much
as an order of magnitude on any news server and is only mitigated by
adding additional memory to better cache the history database. INN
is much more sensitive to a loss of caching efficiency then diablo
due to its single-threaded nature because every blocked I/O read for any
single incoming feed blocks all the incoming feeds. The 30-minutes-down
test is the best way to ensure that you can survive such situations. It's
a good test to run once a month on any news server.
-Matt
:>Mike Horwath IRC: Drechsau LIFE: Lover drechsau@yuck.net
:>Visi: info@visi.com drechsau@Geeks.ORG
Technical Details
Message-ID:
<5uplrd$ls9$1@flea.best.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:
<5uo536$gj4$1@darla.visi.com>Show Full Headers
Complete Article Headers
Message-ID: <5uplrd$ls9$1@flea.best.net> Subject: Re: Feed only servers: How many checks/day? Date: Fri, 05 Sep 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <5uo536$gj4$1@darla.visi.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 X-Deja-AN: 270057161 Organization: Best Internet Communications, Inc - 650 964 BEST Newsgroups: news.software.nntp