I notice that default tomcat 7 thread pool size seems to be 200.
But normal CPU seems have 16 cores.
So only 16 threads can be executed paralleld
Why does tomcat use so much threads.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For long years many single core computer have been around and were able to run functions in a “pseudo-parallel” mode, that said, you might have 16 threads running in real parallel mode and others running in pseudo parallel.
For more information look at this: Parallel Computing
To answer your question, these threads are useful to process requests, a bunch of them will be used for attending http requests and others will be used on calling the application logic.