Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Accept queue size

If you are creating a lot of connections in a short time (as is often the case with load testing), then you may need to increase the size of the connection accept queue. This can be done by setting the AcceptQueueSize field on the jetty connectors. You may also need to increase the somaxconn kernel attribute to match (see below).

High TCP Slot Usage

We have seen that sometimes under certain loads test cases would fail when they are spinning up a large amount of client and server connections as a part of the test execution. The below setting seems to address some of the issues we have encountered. It stands to reason that under a heavy load it would benefit a server outside of the test case environment as well.


Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery