Commit da31e887 by 284718418@qq.com

tomcat调优配置

parent e7385c11
...@@ -7,13 +7,13 @@ server: ...@@ -7,13 +7,13 @@ server:
timeout: 2592000 # session会话过期时间 timeout: 2592000 # session会话过期时间
tomcat: tomcat:
# 最大连接数,默认值是10000 # 最大连接数,默认值是10000
max-connections: 10000 max-connections: 3000
# 最大工作线程数,默认200, 4核8g内存,线程数经验值800 # 最大工作线程数,默认200, 4核8g内存,线程数经验值800
max-threads: 800 max-threads: 1000
# 等待队列长度,默认100 # 等待队列长度,默认100
accept-count: 1000 accept-count: 1000
max-http-post-size: 50MB max-http-post-size: 50MB
min-spare-threads: 100 min-spare-threads: 50
spring: spring:
servlet: 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