0

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 ?

Joakim Erdfelt
  • 46,896
  • 7
  • 86
  • 136
hehe
  • 173
  • 3
  • 13
  • Jetty 6 was declared End of Life back in 2010, in fact, all versions of Jetty from 9.x (and older) are now at End of Life. - https://github.com/eclipse/jetty.project/issues/7958 - you should be using Jetty 10+ at this point in time. You have countless vulnerabilities that impact you, both known and unknown. – Joakim Erdfelt Jan 13 '23 at 13:26

0 Answers0