본문 바로가기
Build Tool, CI, CD/Jenkins

젠킨스(Jenkins) 캐시 공간 부족 경고 해결 방법

by 연구자 공학코드 2024. 5. 22.

공지사항

  1. 제가 운영하는 네이버 카페 개발자 커뮤니티 코어큐브(https://cafe.naver.com/ewsncube)에 가입하시면 컴퓨터 관련 학습 자료와 질의응답을 제공받으실 수 있습니다.

728x90
반응형

현상

아래의 문구과 사진처럼 젠킨스(Jenkins)가 캐시 공간이 부족하면 경고 메시지가 나타난다.

WARNING [Handling GET /static/82ebc488/images/svgs/logo.svg from : https-openssl-apr-8082-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/images/svgs/logo.svg] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

현상

해결 방법

아래처럼 자원 설정 컨텍스트에서 캐시 크기를 충분히 설정하면 캐시 공간 부족 문제를 해결할 수 있다. 젠킨스의 WAS로 톰캣을 사용한 경우 'conf' 디렉토리에 'context.xml'에서 설정할 수 있다.

<Resources cachingAllowed="true" cacheMaxSize="100000" />

캐시 설정 화면

참고문서

  1. "[hana] jenkins 캐시 공간 부족", 하나자바, 2022년 6월 29일. @원문보기
728x90
반응형

댓글