Task exited with return code -9

Hello everybody, How are you?

Well, I’m having problems with a dag, she is returning this to me: Task exited with return code -9

Does anyone know what this is about?


The message generally indicates that your worker running the task is running out of memory and exited due OOM (out of memory) exception.

What kind of Executor are you using?

  • KubernetesExecutor
    • Check the events of the pod launched for the executor with kubectl describe
  • CeleryExectutor
    • Check your workers resource consumption and see if they are hitting a limit