From Tomcat Documentation
MaxConnections When this number is reached, the server will accept, but not process, another connection. once the limit is reached, the operating system can still accept connections based on the acceptCount setting. (The maximum queue length for incoming connection requests when all possible request processing flows are used. Any requests received when the queue is filled will be rejected. The default value is 100.) For BIO, the default value is maxThreads, if only the Executor, in in this case, the default value will be the maxThreads value from the executor. For NIO and NIO2, the default is 10000. For APR / native, the default value is 8192. Note that for APR / native on Windows, the configured value will be reduced to the highest multiple of 1024, which is less than or equal to maxConnections. This is done for performance reasons.
Maxthreads
The maximum number of request processing threads that must be created by this Connector, which determines the maximum number of concurrent requests that can be processed. If this is not specified, this attribute is set to 200. If the worker is associated with this connector, this attribute is ignored because the connector performs tasks using the worker, not the pool of internal threads.
Sagar Mhatre Oct. 20 '15 at 15:46 2015-10-20 15:46
source share