because there was insufficient free space available after evicting expired cache entries


Tomcat运行的时候哗哗哗的报警告

版本是Tomcat 8.5.15

告警信息关键字如下

because there was insufficient free space available after evicting expired cache entries

 

只要在$CATALINA_BASE/conf/context.xml里增加资源最大可缓存的大小就行了,大小可按自己的需要定义

<Resources
    cachingAllowed="true"
    cacheMaxSize="100000"
/>

  

 添加之后如下

重启Tomcat即可

 

 参考链接http://blog.csdn.net/qq_21383435/article/details/77869134

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM