org.apache.catalina.webresources.Cache.backgroundProcess

created at 12-24-2021 views: 6

error

The tomcat console reports the following error:

org.apache.catalina.webresources.Cache.backgroundProcess. The background cache recovery process cannot release the context [[10]% of the cache-please consider increasing the maximum size of the cache. After the eviction, approximately [10,206]KB of data is retained in the cache

solution

  1. Add the following line in the Context tag of the tomcat configuration file D:\soft\tomcat8.5_7.26\apache-tomcat-8.5.64\conf\context.xml
  2. Restart Tomcat.
<Resources cachingAllowed="true" cacheMaxSize="200000" /> 

example:

solution example

created at:12-24-2021
edited at: 12-24-2021: