Community
Participate
Working Groups
ProxyServlet uses internally an instance of HttpClient, started in init() but never stopped. HttpClient in turn creates/uses a thread pool, which by default instantiates minThreads at startup. On redeploy of the ProxyServlet, the HttpClient is not stopped, and its thread pool, while not referenced anymore, will leak the threads it started.
Fixed by stopping the HttpClient instance in ProxyServlet.destroy().
Created attachment 241230 [details] MAT png#1
Andrew, you attached the MAT image, but this bug has been already fixed 3 years ago. Can you please detail if you still have a problem ? If so, please reopen the bug. Which exact version of Jetty are you using ? Can you reproduce it in a test case ?
Sorry, brain failure on my part. I was browsing related bugs to the one I was going to enter to see if mine had already been reported and accidentally uploaded an attachment to this one instead of the one I was entering myself. I could not figure out a way to delete it afterwards. The real bug that I entered is #431131