Chris, ________________________________ From: Christopher Schultz <ch...@christopherschultz.net> Sent: Monday, March 11, 2024 5:09 PM To: users@tomcat.apache.org <users@tomcat.apache.org> Subject: Re: When does Tomcat add and remove threads?
John, On 3/11/24 17:47, john.e.gr...@wellsfargo.com.INVALID wrote: > I am using Tomcat 9.x. > > When does Tomcat add and remove threads from its internal thread > pool? I'm talking about the threads with names like > http-nio-8080-exec-1. It appears the thread pool is Tomcat's own > ThreadPoolExecutor but I don't see the exact behavior documented. > I'm familiar with how java.util.concurrent does it, but it looks like > Tomcat's version is a little different. Are you looking for a technical explanation with code references, or a plain-English description of when threads are created and added? -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Mostly plain English like the j.u.c. ThreadPoolExecutor Java doc has. What happens when all core threads are in use? When do tasks go on the queue? When does core thread + 1 get added? When do threads get removed? Thanks