在Tomcat的
我理解
而
但是这两个配置参数如何共同工作呢?-- 显然,您不会将
这两个配置参数之间的关系是什么?
server.xml
文件中,什么是maxThreads
和maxConnections
?我理解
maxConnections
是服务器打开的连接数。而
maxThreads
是请求处理线程的最大数量。但是这两个配置参数如何共同工作呢?-- 显然,您不会将
maxConnections
设置为1000,将maxThreads
设置为10。这两个配置参数之间的关系是什么?
<Connector
port="8443"
protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="250"
SSLEnabled="true"
scheme="https" secure="true"
clientAuth="false"
sslProtocol="TLS"
connectiontimeout="20000"
/>
acceptcount
、maxconnections
、maxthreads
和minsparethreads
,请参见此处:https://developpaper.com/tomcats-acceptcount-and-maxconnections/(存档在此处:https://archive.ph/sGGuL)。 - StackzOfZtuff