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