Created
July 25, 2018 03:05
-
-
Save cpusoft/a409c5454d6701795743f22f1253278f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 运行tomcat会出现 org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/QiiiBuoy] - consider increasing the maximum size of the cache. After eviction approximately [9,506] KB of data remained in the cache. | |
| 在tomcat的/conf/context.xml中的Context中追加一句 | |
| <Resources cachingAllowed="true" cacheMaxSize="100000" /> | |
| 变成如下 | |
| <?xml version='1.0' encoding='utf-8'?> | |
| <Context> | |
| <WatchedResource>WEB-INF/web.xml</WatchedResource> | |
| <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> | |
| <Resources cachingAllowed="true" cacheMaxSize="100000" /> | |
| </Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment