🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49193

Re: INN 2.3, strange feed problem

#49193
From: bill davidsen
Date: Tue, 28 Nov 2000 00:00
80 lines
4262 bytes
In article <8vtqp1$oi2$1@isp-m-srv06.izb.net>,
Oliver Fromme  <olli@secnetix.de> wrote:

| We have setup a second news machine as a "slave", in order
| to have identical article numbers and migrate the service
| to the new machine without users noticing (hopefully).
| However, only about 20% of all articles are fed to the
| slave, and I've been unable to find out why, so far.  :-(

| All diskspace (spools, overviews, history) is mounted from
| NetApp Filers via NFS (the servers use two different Filers
| so they shouldn't interfere with each other).  I'm aware
| that local diskspace would be preferable from a performance
| perspective, but we only have those Filers available.  Both
| Filers are set up in the same way.  The load on the Filers
| is rarely > 10%, so they shouldn't be causing the problem.

  Your disk isn't fast enough...
| 
| Also, neither CPU nor RAM is a bottleneck on both machines.
| Average load is blow 1.0, and there's almost no paging or
| swapping activity.
| 
| The following is from the innfeed.status file on the master:

	[ massive backlog deleted ]

| The innfeed seems to queue and then spool most of the
| articles.  I'd love to know why.

  Your slave disk isn't fast enough.

|                                   I've already increased
| the number of connections to 45 and the maximum queue
| length to 1000, without much of an effect (except that
| the memory footprint of the innfeed process got larger).

  This is because no matter how hard you "push" you can't make the salve
take it faster than the storage will accept it.
| 
| Does anyone have an idea what could be causing the problem?

  Your disk on the slave isn't fast enough.

| I can post more information (log file excerpts etc.) if
| required.  I can also try all kinds of things on the new
| box, because the old one is still the official production
| server.

  Sorry to repeat, but the slave just isn't processing the data fast
enough. Increasing queue length buys you next to nothing over the
default, and increasinge the number of queues only helps with lots of
little articles.

  NFS storage is a problem, look at the daily and see how long it takes
to write an article. Wow, long time, huh?

  Now there's one other thing which could be causing problems, and
that's the network connection from the master to the slave. Check the
ping time, look for collisions if you are not using a switch, etc.

  If you still don't see anything, split the feed into <32k and >32k
feeds. Use a queue length of 200 and max connections of four for the
small and three for the large. If the small backlogs, you are probably
having CPU problems, check your idle time. If the large backlogs, the
network data rate is not keeping up. If your ping time is REALLY bad you
might get some help by increasing the receive buffer size. From memory
it's in innd/nc.c, and can be increased depending on your system.

  I have seen networks where the routers were "tuned" to favor TCP over
UDP, so the news feed worked fine, but NFS was painfully slow. After
trying to explain why that was bad, I finally did an end run by putting
in a TCP VPN and sending the UDP through that. A pox on network weenies
who won't tell the management the hardware isn't strong enough!

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Technical Details
Message-ID: <901be2$ceho$1@newssvr06-en0.news.prodigy.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
References: <8vtqp1$oi2$1@isp-m-srv06.izb.net>

Show Full Headers
Complete Article Headers
Message-ID: <901be2$ceho$1@newssvr06-en0.news.prodigy.com>
Subject: Re: INN 2.3, strange feed problem
Date: Tue, 28 Nov 2000 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <8vtqp1$oi2$1@isp-m-srv06.izb.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: 698863878
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr06-en0.news.prodigy.com 975450370 408120 192.168.190.236 (28 Nov 2000 22:26:10 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 28 Nov 2000 22:26:10 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com