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 年前檢視次數 2275 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南