🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23520

inn 1.7 rnews too slow on Linux

#23520
From: Devin Ganger
Date: Sat, 22 Nov 1997 00:00
46 lines
2792 bytes
I recently had to switch away from inn to dnews because of an odd
performance problem I was seeing involving our recently-acquired 
satellite news feed.

The feed in question sends zipped files that contain between 6 to 12
..bag files of news.  The processing script invokes rnews for each .bag
file, which generally contains between 80-120 messages.

The problem I was seeing was that rnews was taking an abnormally long
time to process each file.  Checking the logs showed that each message
*within* the .bag file was taking, on average, 2-5 *seconds* to process.
Since each zip file came down the pipe usually about a minute apart, I
was faced with two equally bad choices: run rnews sequentially and run
out of disk space (eventually) while falling further and further behind
on news, or run rnews in parallel and kill the CPU with open processes.

The server in question is a dual-Pentium200 with 128MB of RAM.  A 2GB
IDE drive holds the root parition, on which the operating system
(Slackware, with Linux kernel 2.0.30) is held, and an Adaptec fast SCSI
controller with 2 4G hard drives for the news spool and a 2GB hard drive
as the /var filesystem.  The 2 4G hard drives were mounted as
/mnt/newsart1 and /mnt/newsart2 and contained the actual news
hierarchies (split as necessary to keep each disk approximately equally
loaded), while /var/spool/news/articles contained symlinks to the
appropriate directories underneath /mnt/newsart*.

Can anyone tell me what sorts of options I may have turned on when I
wasn't supposed to in inn/config/config.data, or should turn on in order
to beat this performance problem?  Dnews is fast, but it just isn't
flexible enough for my tastes.  If I wanted pre-compiled binaries with
no source, I would have stuck with Windows NT.

Slightly off-topic, but does anyone know of a decent virtual
partitioning scheme under Linux so that I can combine the SCSI drives
into a single filesystem?  I'm wondering if maybe my half-assed symlink
scheme wasn't partly to blame as well for the abysmal speed I was
seeing.  I know that INN isn't the fastest server around, but is it
*really* that slow?

-- 
Devin L. Ganger <devin@premier1.net>
Chief Systems Administrator
Premier1 Internet Services

Technical Details
Message-ID: <34766eee.0@satellite.premier1.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

Show Full Headers
Complete Article Headers
Message-ID: <34766eee.0@satellite.premier1.net>
Subject: inn 1.7 rnews too slow on Linux
Date: Sat, 22 Nov 1997 00:00:00 +0000
From: devin@premier1.net (Devin Ganger)
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: 291483798
Organization: The G.R.U.E Society (finger for details)
Newsgroups: news.software.nntp