DynmapCore icon indicating copy to clipboard operation
DynmapCore copied to clipboard

Lower thread pool timeout

Open aikar opened this issue 5 years ago • 1 comments

https://github.com/webbukkit/DynmapCore/blob/c3cdff44ce13c315a01e8f8eac3b5d19b04ce0c3/src/main/java/org/dynmap/DynmapCore.java#L795

I noticed in debugger that I had a ton of "etp" threads. Traced it down to jetty from dynmap.

The code times them out in 60 seconds, but I'm afraid that each thread is eventually popping 1 task off within that 60 seconds to keep each thread alive. I do not see threads closing....

suggest dropping it to like 1-5 seconds so that they can close and only open on burst traffic.

aikar avatar Apr 10 '20 06:04 aikar

@mikeprimm saw a thread dump that reminded me of this issue.

aikar avatar Jun 12 '20 16:06 aikar