Article View: news.software.nntp
Article #22052Re: nnrpd going berserk (INN-1.5.1sec2, Linux pre-2.0.31-9)
From: Tsar Barry BOFHwsma
Date: Thu, 02 Oct 1997 00:00
Date: Thu, 02 Oct 1997 00:00
43 lines
2731 bytes
2731 bytes
[Not much to do with Linux; followups set]
On 30 Sep 1997, Lars Syrstad wrote:
> The server is usually running at loadavg in the neighborhood of 1.0,
> with lots of spare CPU time. However, nnrpd might take some time to
> start, usually 2-5 seconds until I get the first 200 message when
> telneting to the port (I honestly don't think that's too bad...)
Well, it probably is. Your several seconds delay results from innd
picking up the phone, figuring out it doesn't want to talk to you,
transferring you to nnrpd, which does a DNS lookup to decide whether it
does want to talk to you and then puts up the banner.
If the 200 greeting you see is different from what you see after you
type the command ``MODE READER'' then the second step isn't happening and
you're seeing the delay it takes innd to get around to you, where no DNS
lookup is performed.
Assuming you don't have DNS problems, you shouldn't be seeing a delay
at all with your second and third connections to the NNTP port. It should
be just as fast as getting the prompt from, say, port 19, or the telnet
port, or most other ports.
If you see a delay, whether a minute, ten seconds, or half a second,
then your news server has performance problems and needs tuning. There
shouldn't be a delay at all. Honest. Believe me. My server at the
moment puts up the banner almost instantly, which is how it should be.
This is a simple and painless test of whether your server is idling or
racing frantically to keep up.
How to tune it? That gets discussed quite a bit in news.software.nntp
with the primary measurements provided by Joe Greco's idle timer patch,
and the biggest bottlenecks likely being spool writes and history lookups.
Barry Bouwsma
will tweak news servers for food
Technical Details
Message-ID:
<Pine.LNX.3.96.971002091412.12853B-100000@marley.vszbr.cz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<vzyb4hov9n.fsf@kvakk.idb.hist.no> <60muan$a78$1@alzheimer.hamburg.pop.de> <vz90wfq266.fsf@kvakk.idb.hist.no> <bill-2909972259570001@sc1.scconsult.com> <vzraa7nonu.fsf@kvakk.idb.hist.no>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.971002091412.12853B-100000@marley.vszbr.cz> Subject: Re: nnrpd going berserk (INN-1.5.1sec2, Linux pre-2.0.31-9) Date: Thu, 02 Oct 1997 00:00:00 +0000 From: Tsar Barry BOFHwsma <barry@vszbr.cz> References: <vzyb4hov9n.fsf@kvakk.idb.hist.no> <60muan$a78$1@alzheimer.hamburg.pop.de> <vz90wfq266.fsf@kvakk.idb.hist.no> <bill-2909972259570001@sc1.scconsult.com> <vzraa7nonu.fsf@kvakk.idb.hist.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 277267750 Followup-To: news.software.nntp Organization: The Cabal That Does Not Exist, and Wouldn't Be a Cabal if it did Reply-To: ag786@yfn.ysu.edu Newsgroups: news.software.nntp,comp.os.linux.networking