Article View: news.software.nntp
Article #28811Re: Slow news server
From: Ronald Hello
Date: Thu, 04 Jun 1998 00:00
Date: Thu, 04 Jun 1998 00:00
78 lines
3506 bytes
3506 bytes
In article <6l3pr7$fb6$1@ultranews.duc.auburn.edu>, swangdb@mail.auburn.edu (David Swanger) writes: > Our main news feed says we are dropping over half of the > messages they send us because our server is too slow and > can't keep up. Okay, lets take a look. > > We have a 167mhz Sun Ultra, 100mbit connection to our > network, INN 1.5.1, 192mb ram, a 16g disk array (4 4g disks > acting as one disk). The INN software is on the root disk. > Solaris 2.5.1. I have about the same machine with a mix of old and newer disks (25 GB), 256 MB mem, INN 1.7.2 and Solaris 2.5 and 10baseT (10 Mbit/sec). It works just fine even though it's also our anon-FTP, BSCW and NTP server. So your hardware should be sufficient. > > ----- > Guess #1 - Network. I tried pinging a few of the feed sites > and the connections don't look too speedy. Are these numbers > big enough for me to worry about? Wouldn't know. Ask the locals. > > ----- > Guess #2 - CPU too slow. The load average seems to float between 2 and 5. No. Your CPU is OK. > ----- > Guess #3 - Ram - I would think 192mb would be enough, but maybe not. For only news? Should be just enough. > ----- > Guess #4 - Disks - Maybe the disks are too slow, is there a preferred way to > configure the disk array? Should they be striped? I've been told > that news filesystems should be tuned to space instead of time, > true/false? I tune them for time. I think you should have a look at fastfs. All my spool filesystems are set to fast (asynchronous), the core (lib, log, src, bin) is on slow (synchronous, default for UFS). This could be your problem. > ----- > Guess #5 - INN misconfigured. I notice that fastrm runs for several hours > every day, is this normal? Could I reconfig this? Or could slow disks > cause this? It seems like it takes a long time to erase all of the old > articles. We currently have about 17k newsgroups in the active > file. When you have just one spool, fastrm should not have real problems. Several ours a day is too much. Fastfs could help here too. > > I would appreciate any help you could give, though maybe you'd better > send me any suggestions via email since our news server might not > receive them. I'll forward the posting. Try to get your hands on `top'. This could tell you what your server is doing. There should be some idle-time when it runs normal (not during expires, nocem-fastcancels, etc.). Also have a look at filters like cleanfeed. This way you can drop the real junk before it makes it to your disks and gives you a major performance improvement. Ronald. -- // Ronald Hello (Ronald.Hello@cs.utwente.nl) // University of Twente // Department of Computer Science // The Netherlands
Technical Details
Message-ID:
<6l5ptl$jkd$1@pandora.cs.utwente.nl>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:
<6l3pr7$fb6$1@ultranews.duc.auburn.edu>Show Full Headers
Complete Article Headers
Message-ID: <6l5ptl$jkd$1@pandora.cs.utwente.nl> Subject: Re: Slow news server Date: Thu, 04 Jun 1998 00:00:00 +0000 From: hello@cs.utwente.nl (Ronald Hello) References: <6l3pr7$fb6$1@ultranews.duc.auburn.edu> 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: 359427361 X-Server-Date: 4 Jun 1998 09:37:57 GMT Mime-Version: 1.0 Distribution: world Content-Type: text/plain; charset=us-ascii Organization: University of Twente, Dept. of Computer Science Newsgroups: news.software.nntp