Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mogul@actitis.pa.dec.com (Jeffrey Mogul)
Subject: Re: Heavy system load <-> tcp-problems?
Date: 1998/03/13	[thread overview]
Message-ID: <6ea05i$ps@usenet.pa.dec.com> (raw)
In-Reply-To: 3506AEAF.2A706FF4@netvigator.com


In article <3506AEAF.2A706FF4@netvigator.com>, David Lee <davidskl@netvigator.com> writes:
|> A lot of TIME_WAIT means the three way TCP hand shaking doesn't complete.

Not exactly.  Digital UNIX can keep zillions of TIME_WAIT entries
(as long as you have enough RAM, and the original poster had 2GB)
without affecting its ability to accept new connections.

If indeed the "three-way handshake" (SYN packet exchange) is failing,
this is because the "socket listen queue depth" is too small.  The
default on V4.0 is, I believe, 1024; you can set it as high as 32767.

For full instructions, and much more about tuning Digital UNIX
for high-performance Web servers, please see:

    http://www.digital.com/internet/document/ias/tuning.html

|> You have to decrease the tcp_keepinit to 30.

This should not be necessary if the system is configured according
to the document cited above.  However, if your system is under
a "SYN-flooding" attack, it *might* help to reduce tcp_keepinit.

By the way, large numbers of TIME_WAIT states are entirely
normal; in fact, if your server is busy, this is basically
required by the TCP specification (RFC793).

-Jeff



  parent reply	other threads:[~1998-03-13  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-11  5:00 Heavy system load <-> tcp-problems? Eric Heymann
1998-03-11  5:00 ` Michael Gros
1998-03-11  5:00 ` David Lee
1998-03-13  5:00   ` Rick Jones
1998-03-13  5:00     ` Marc Slemko
1998-03-17  5:00       ` Rick Jones
1998-03-13  5:00   ` Jeffrey Mogul [this message]
1998-03-11  5:00 ` John McIntire
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox