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 年前2268 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则