Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default queue size for apache tomcat in spring boot?

What is the default request queue size in apache tomcat which is embedded in spring boot ?

like image 231
user1354825 Avatar asked Oct 20 '25 05:10

user1354825


1 Answers

As of spring boot version 2.7.2, this is set to 100 by default. You can use the following property to change it:

server.tomcat.accept-count=100

According to the documentation this is used to specify:

Maximum queue length for incoming connection requests when all possible request processing threads are in use.

To check for the version you're using, you can try replacing the version in this url & searching for acceptCount.

like image 126
aksh1618 Avatar answered Oct 22 '25 03:10

aksh1618



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!