美文网首页
tomcat max threads

tomcat max threads

作者: happyleijun | 来源:发表于2018-04-28 19:25 被阅读0次

request requires a thread for the duration of that request. If more simultaneous requests are received than can be handled by the currently available request processing threads, additional threads will be created up to the configured maximum (the value of the maxThreads attribute). If still more simultaneous requests are received, they are stacked up inside the server socket created by the Connector, up to the configured maximum (the value of the acceptCount attribute). Any further simultaneous requests will receive "connection refused" errors, until resources are available to process them

example

application.properties or application.yml to config

server.tomcat.max-threads=400

相关文章

网友评论

      本文标题:tomcat max threads

      本文链接:https://www.haomeiwen.com/subject/lrlnlftx.html