tomcat 设置连接数

maxConnections、maxThreads、acceptCount的含义及关系
maxThreads:tomcat同时处理请求的任务个数,默认值为200
maxConnections :tomcat可以处理的最大连接数,这个值的默认值分两种情况,BIO情况下和maxThreads一样大,NIO情况下
是10000
acceptCount:当连接数到达maxConnecions后,将请求放入的等待队列的长度,默认是100

转自:https://blog.csdn.net/kaka20099527/article/details/53285348

原文地址:https://www.cnblogs.com/moris5013/p/9489311.html