I have use jetty 6.1.26 to build a app service, and I set thread number 1000 like this.
QueuedThreadPool httpThreadPool = new QueuedThreadPool(1000);
server.setThreadPool(httpThreadPool);
And I also have another service, it use 4 threads send http request to the above services, but frequency is very high, about 4000 times a minute. echo request cost less then 10ms.
but my QueuedThreadPool thread number increase very fast, The upper limit will be reached soon. so is there some bug with jetty 6.1.26 ?