how to avoid the SIGKILL signal?

0

Despite the optimized DAG and chunk loading, sometimes tasks are killed automatically, turning into SIGKILL status. Googling this error, most often you can see that it occurs from lack of memory (although, I still delete variables and clear memory during script execution. Question: how to avoid the SIGKILL signal? How to understand whether it is necessary to increase the Environment Airflow MWAA or not, And if increased, by how much?

AWS
已提問 1 年前檢視次數 515 次
1 個回答
0
已接受的答案

Hi, I agree: SIGKILL with Airflow often results from insufficient resources (compute, memory, etc.).

To understand how much your DAG consumes, you can use the CLoudWatch metrics provided by MWAA: see section "Apache Airflow metrics available in CloudWatch" in https://docs.aws.amazon.com/mwaa/latest/userguide/access-metrics-cw-202.html

You will then understand where you consume most and be able to adapt your setup accordingly to avoid the SIGKILLs

Best,

Didier

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前

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

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

回答問題指南