On Thu, Aug 19, 2004 at 06:56:08PM -0400, Kilic, Hakan wrote: : I'm seeing Tomcat and Apache show many tcp TIME_WAIT connections when : running netstat under a load test. I was wondering, is this because the web : browser client is not closing the connection properly, or is this the normal : behavior of apache/tomcat under load, and the connections simply time out.
This is the normal behavior of TCP on a network stack that's not tuned for web-style traffic. What's happening is far beneath Tomcat or Apache. The short (and oversimplified) version: before the web came along, most connections to a machine were long-lasting, so the default post-disconnection timeout was pretty high. (A few minutes, I recall.) HTTP gave us short, bursty traffic and most machines aren't tuned for that out of the box. Check your OS to lower the timeout to something more reasonable and see what that does for you. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
