AWS Batch - Job Stuck in RUNNABLE state

0

In AWS Batch, sometimes the job is stuck in RUNNABLE state. Under what conditions the job gets stuck? Is there a way to find out the reason job gets stuck? Also Is there a way to alert via Cloudwatch metrics and SNS?

Also is there a max time after which if job is still stuck, it means that the job will never run??

Edited by: arian on Mar 17, 2019 8:38 AM

arian
질문됨 5년 전2277회 조회
1개 답변
0

Hi! If a Batch job is in the RUNNABLE state, it is waiting to be placed on an instance. If you believe your job is stuck in RUNNABLE, it means something is preventing Batch from placing the job.
https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable shows you the most common reasons why the Batch job may be stuck in RUNNABLE. For some of these reasons (such as EC2 limits), the logs will show an error code.

Since there are varied reasons why Batch jobs are in RUNNABLE, there's no set time that means a Batch job will fail if it can't be placed.

AWS
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠