Commit da31e887 by 284718418@qq.com

tomcat调优配置

parent e7385c11
......@@ -7,13 +7,13 @@ server:
timeout: 2592000 # session会话过期时间
tomcat:
# 最大连接数,默认值是10000
max-connections: 10000
max-connections: 3000
# 最大工作线程数,默认200, 4核8g内存,线程数经验值800
max-threads: 800
max-threads: 1000
# 等待队列长度,默认100
accept-count: 1000
max-http-post-size: 50MB
min-spare-threads: 100
min-spare-threads: 50
spring:
servlet:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment