[WAS] consider increasing the maximum size of the cache

김봉남·2024년 2월 13일

WAS

목록 보기
15/23
post-thumbnail

가끔씩 tomcat을 실행 및 운영을 하다 보면 아래와 같이 에러가 발생하는데,
백그라운드 정리 프로세스가 캐쉬 공간을 확보하지 못해서 발생된다.

error log

org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [] - consider increasing the maximum size of the cache. After eviction approximately [9,263] KB of data remained in the cache.

cache 증설

cacheMaxSize 용량 단위는 바이트

vi context.xml
    <Resources cachingAllowed="true" cacheMaxSize="100000000" />
profile
남자다

0개의 댓글