Thread View: news.software.nntp
2 messages
2 total messages
Started by Mike Carlson
Thu, 27 Jun 1996 00:00
Wanted: Tips for optimizing INN performance
Author: Mike Carlson
Date: Thu, 27 Jun 1996 00:00
Date: Thu, 27 Jun 1996 00:00
20 lines
1428 bytes
1428 bytes
I'm currently running INN 1.4u2 with four incoming newsfeeds and
three outgoing feeds and was looking for tips on things that I can do to
optimize the overall performance of the server.
I'm looking for everything that I can do on my side. So far the only
thing that I'm really doing is using the streaming patches, but that
seemed to make only a slight dent in performance. Any expire tips, or
organizational tips (I've heard presorting certain files can make a
difference), basically tips would be appreciated.
One other thing (more for another message really), is how can I send
just the messages posted by my local users to another server? As I said
above, I have four incoming feeds and three outgoing. I would like to
send just the locally created messages to the fourth system and not all
the messages in whatever newsgroups my local users posted into.
Mike
Re: Wanted: Tips for optimizing INN performance
Author: Brian Tao
Date: Sun, 30 Jun 1996 00:00
Date: Sun, 30 Jun 1996 00:00
44 lines
2761 bytes
2761 bytes
In article <4qvedb$bbi@basecamp1.net-quest.com>, Mike Carlson <mike@net-quest.com> wrote:
>
> Any expire tips, or organizational tips (I've heard presorting certain
> files can make a difference), basically tips would be appreciated.
I've been running expire with the "delayrm" flag on my current
news server since the beginning, but I'm not sure how much of a
performance gain that is now (I've since tuned other aspects of the
system to get scan times on a 250MB history file down to 45 minutes or
less, and another couple of hours for the fastrm).
Lots of memory obviously helps (you want minimal paging activity),
and the sharedactive patch goes a *long* way towards efficient memory
usage on a heavy reader machine. I'm typically running with about
20MB free (most of it sitting around as disk cache) on a 128MB server
with 130 to 150 readers. You want to have enough to handle expire and
expireover when they run.
Splitting your spool across as many drives as possible is also
recommended. The news spool, history file and overview databases
should all be on independent drives (and controllers, if possible).
If you're running on PC hardware, good PCI SCSI controllers are
relatively inexpensive. I've got three NCR53810's with 3 drives each.
A RAID solution works even better, although at a higher price tag.
Presorting your outgoing batch files will help by keeping inode
information for the news spool directory in cache. It can't hurt, but
make sure you have enough temp space (usually /var/tmp for 'sort', I
think) to hold the largest spool file.
Read the threads in this newsgroup about divorcing nnrpd spawning
and article posting functions from the main innd server. Those are
ways of speeding up the response time to an otherwise sluggish server.
> One other thing (more for another message really), is how can I send
>just the messages posted by my local users to another server?
Look for the 'H' flag in the newsfeeds(5) man page.
--
Brian Tao (BT300, taob@io.org, taob@ican.net)
Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads