In Tomcat's server.xml
what is maxThreads
versus maxConnections
?
I understand that maxConnections
is the number of connections open to the server.
And maxThreads
is the maximum number of request processing threads .
But how do these two configuration parameters work together? -- Obviously you will not set maxConnections
to 1000 and maxThreads
to 10.
What is the relationship between the two configuration parameters?
<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
andminsparethreads
here: developpaper.com/tomcats-acceptcount-and-maxconnections (Arhived here.)