tomcat缓存过多org.apache.catalina.webresources.Cache backgroundProcess


只要在conf/context.xml里增加资源最大可缓存的大小就行了

 
 
  1. <Context>
  2. <WatchedResource>WEB-INF/web.xml </WatchedResource>
  3. <WatchedResource>${catalina.base}/conf/web.xml </WatchedResource>
  4. <Resources
  5. cachingAllowed= "true"
  6. cacheMaxSize= "102400"
  7. />
  8. </Context>

猜你喜欢

转载自blog.csdn.net/wangxintong_1992/article/details/80844830