Java Web Server with Jetty - TCP Connections Taking Long

Posted by daysleeper on Stack Overflow See other posts from Stack Overflow or by daysleeper
Published on 2010-06-03T20:52:42Z Indexed on 2010/06/03 20:54 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

I have an application with fairly high traffic (20K req/min) running on the JVM with a Jetty servlet container on Ubuntu. Below is my Jetty configuration:

10 20 2000 2

When I analyze the network traffic, I realize that sometimes it is taking long to establish TCP connections on the port that Jetty is running. The long connections are varying between 3.0s and 9.0s. The port is configured to accept MAX number of TCP connections. Do you know what might be causing the delay in accepting connections?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about unix