You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/28 03:46:10 UTC

[GitHub] [airflow] sodafountain commented on issue #16573: State of this instance has been externally set to up_for_retry. Terminating instance.

sodafountain commented on issue #16573:
URL: https://github.com/apache/airflow/issues/16573#issuecomment-887986537


   Thanks for your detailed explanation @peay 
   
   I think this makes lot of sense. I think setting the value `AIRFLOW__SCHEDULER__ORPHANED_TASKS_CHECK_INTERVAL` to an appropriate value make sense.
   
   In my case, I was connecting to the database through a load balancer and load balancer sometimes runs out of ports and drops connection causing the db connections from airflow to fail. Some of these connection failures just happened to be the heartbeats from these tasks.  Ever since, the db connection failures has been fixed, I'm not seeing this error either in my setup. 
   
   Thanks  once again.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org