依次打开/usr/local/tomcat-8.5.54/conf文件夹,打开server.xml,将注释内容更改为下面的参数即可
<!--
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<Connector port="8080" protocol="HTTP/1.1"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
connectionTimeout="20000"
maxPostSize="-1"
maxParameterCount="-1"
maxHttpHeaderSize ="102400" disableUploadTimeout="false"/>
树形结构叶子节点太大时,Linux系统tomcat内存溢出解决办法
最新推荐文章于 2023-10-04 01:36:04 发布