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/03/29 12:06:41 UTC

[GitHub] [airflow] RicardoPedrotti commented on issue #13542: Task stuck in "scheduled" or "queued" state, pool has all slots queued, nothing is executing

RicardoPedrotti commented on issue #13542:
URL: https://github.com/apache/airflow/issues/13542#issuecomment-809324370


   I'm facing the same issue as OP and unfortunately what @renanleme said does not apply to my situation.
   I read a lot about the `AIRFLOW__SCHEDULER__RUN_DURATION` that @jonathonbattista mentioned to be the solution, but first of all, this config does not appear to be implemented in airflow 2.X and second,  as the [Scheduler documentation](https://airflow.apache.org/docs/apache-airflow/stable/scheduler.html) says: 
   > scheduler is designed to run as a persistent service in an Airflow production environment.
   
   I wouldn't mind restarting the scheduler, but it is not clear for me the reason of the hanging queued tasks. In my environment, it appears to be very random.
   


-- 
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.

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