🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30124

Re: missing articles problem

#30124
From: Curt Welch
Date: Tue, 28 Jul 1998 00:00
68 lines
3977 bytes
newsmaster@interpacket.net (Jon Mansey) wrote:
> Hi,
>
> I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid
> spool.
>
> I am being fed news from 2 or 3 uunet Diablo boxes via a DS3.
>
> I seem to be missing a lot of articles. Most noticeable are that binary
> posts are mostly incomplete, in fact often only 2 of 15 parts show up.
>
> The load hovers around 1.1 and never goes above 1.5.
>
> Can anyone suggest what may be the problem?

You don't say how much news you are trying to get nor do you tell
us how many drives make up that 10G spool, but in general, your
problem is that your inn box isn't accepting articles quick enough
to keep up with the feed.  This is what causes the backlog, and
when the backlog gets to large, the feeding boxes will start
droping ariticles.  This is a very common problem with inn systems.
Your server doesn't "look" overloaded, but it is.

One thing that will really slow down the server is a news group
directory with too many files (>10K).  The most common one that causes
this problem is the control/cancle directory.  If this fills up with
thousands of cancel articles then the server will take seconds
instead of milliseconds to add new articles - and since INN does
disk IO in a serial fashion, this will slow down everything.

Make sure your expire control messages quickly and look into other
soultions like not accepting cancel messages or geting one of the
patches to inn to distribute the cancel articles across multiple
directories.  I just do a rm -rf control/cancel from cron every
5 minutes.

Check other high volume groups as well like the jobs groups. (just
sort a copy of your active file by article as way to find the high volume
grouops).

Another common problem is not having enough disks.  inn needs lots
of disks to spread disk IO over to keep it from backloging.  You need
something like 8 to 10 fast (7200 RPM or better) SCSI disks to keep
up with a full feed these days (with the inn conventional storage
format).  If your 10G spool is made up of 5 2G drives then you probably
can't keep up with a full feed, but you're not too far away from making
it work.  If it's made of drives larger than 2G, then there's no way
the system will be able to keep up with a full feed.

As the other guy said, you might try upgrading to inn 2.0 with CNFS.  That
really increases performance (by cutting down on the disk IO requirements).
I'm not real happy with inn 2.0 because of overview performance and related
problems, but you can't beat it for raw article accept speed.  On one
server I tried it on, it increased performance from 25 articles per second
with inn 1.7.2 to 75 to 100 articles per second with inn 2.0 and CNFS.

Upgrading to 2.0 is a lot cheaper than buying new disks and controlers :).

There are various web sites people have created with notes and tips about
fixing inn problems but I don't have them handy.  Search Dejanews or the
web for inn performance tips and I think you might find some good
references.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980728152616.383$iH@newsreader.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: <newsmaster-2807980024310001@192.168.2.10>

Show Full Headers
Complete Article Headers
Message-ID: <19980728152616.383$iH@newsreader.com>
Subject: Re: missing articles problem
Date: Tue, 28 Jul 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <newsmaster-2807980024310001@192.168.2.10>
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: 375749978
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp