Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 해외증권 양도세 한국투자증권
- 주식 양도세 신고방법
- 한국투자증권 양도세 신고
- 피보나치함수
- js 자동완성
- 테스트 자동화
- katalon 자동화
- 한국투자증권 해외주식 양도세
- 재귀 예제
- javascript 자동완성
- katalon 사용법
- 홈택스 해외주식 양도세
- 재귀함수 예제
- 피보나치함수 예제
- 국세청 해외주식 양도세 신고방식
- Katalon Recorder 사용법
- 피보나치 예제
- CSTS 폭포수 모델
- tomcat log
- bfs 미로탐색 java
- 톰캣 실시간 로그
- git 연동
- recursion example
- oracle group by
- katalon
- katalon 비교
- java.sql.SQLSyntaxErrorException
- 해외주식 양도세 신고
- 최대공약수 예제
- katalon xpath
Archives
- Today
- Total
엄지월드
[Tomcat] consider increasing the maximum size of the cache 본문
Tomcat을 통해서 배포를 하니 아래와 같이 에러가 발생했다.
27-Jan-2025 10:50:05.675 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/META-INF/dgminfo] to the cache for web application [/web-0.0.1-SNAPSHOT] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:05.792 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:05.792 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:05.872 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/spring.components] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
2025-01-27 10:50:05.888 INFO 13958 --- [com-startStop-1] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
27-Jan-2025 10:50:05.961 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/spring.components] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:05.963 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/com/dodrambio/web/] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:06.009 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/spring-autoconfigure-metadata.properties] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
27-Jan-2025 10:50:06.104 경고 [domain.com-startStop-1] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/messages.properties] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
1. JVM의 메타스페이스 크기 증가
- Tomcat을 실행할 때 -XX:MaxMetaspaceSize 옵션 추가
#!/bin/bash
TOMCAT_HOME=/home/hosting_users/domain/tomcat
cd $TOMCAT_HOME/bin
# 메타스페이스 크기 설정
export CATALINA_OPTS="-XX:MaxMetaspaceSize=512m"
# Tomcat 중지 및 시작
./shutdown.sh
./startup.sh
# 로그 출력
tail -500f $TOMCAT_HOME/logs/catalina.out
2. Tomcat 캐시 크기 증가
- server.xml 파일에서 <Host> 태그 내에 maxCacheSize 속성을 추가하거나 수정
<Host ...>
...
<Context>
<Resources maxCacheSize="100000" />
</Context>
</Host>
'Server&DevOps' 카테고리의 다른 글
https 적용하기(Docker 사용) (5) | 2024.09.28 |
---|---|
[Jenkins] 웹훅 에러 No valid crumb was included in the request (0) | 2024.09.22 |
Jenkins Token 발급 방법 (0) | 2024.09.22 |
A서버(구글 클라우드)에서 B서버(AWS)로 SSH 통신하는 방법 (6) | 2024.09.02 |
AWS linux JDK11 설치 (0) | 2024.08.06 |
Comments