반응형
ECS 서비스 도중 다음과 같은 에러 메시지와 함께 서비스 중인 ECS 가 시작되지 않았다.
failed to launch: exec.d: failed to execute exec.d file at
path '/layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/memory-calculator': exit status 1
Calculating JVM memory based on 617764K available memory
For more information on this calculation,
see https://paketo.io/docs/reference/java-reference/#memory-calculator
unable to calculate memory configuration
fixed memory regions require 682317K which is greater than 617764K available for allocation: -XX:MaxDirectMemorySize=10M, -XX:MaxMetaspaceSize=170317K, -XX:ReservedCodeCacheSize=240M, -Xss1M * 250 threads
Setting Active Processor Count to 2
paketo buildpack 메모리 계산법(https://paketo.io/docs/reference/java-reference/#memory-calculator)에 의해
계산된 JVM 사용 가능한 메모리는 617764K인데 필요한 메모리는 682317K 여서 발생한 오류였고
기존 ECS 컨테이너 메모리를 0.5GB -> 1GB 로 스케일 업하여 정상 동작을 확인할 수 있었다.
반응형
'트러블 슈팅' 카테고리의 다른 글
SOAP connection reset (0) | 2023.07.23 |
---|---|
WebClient Connection reset by peer (0) | 2023.07.20 |