Spring Boot – Limit on number of connections created

This setting is derived from the embedded container (tomcat, jetty…). Tomcat’s number of threads You may specify this property in your application.properties server.tomcat.max-threads=400 You say you counted 20 threads, however according to this other stackoverflow question/answer, the default number of thread should be 200 with tomcat, since server.tomcat.max-threads’s default value is 0. See tomcat’s documentation: … Read more