Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6264

Airflow not scheduling tasks after staying in Running state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.6
    • Fix Version/s: 1.10.6
    • Component/s: celery, DAG, operators
    • Labels:
      None
    • Flags:
      Important

      Description

      I am trying to run my tasks using Airflow and Celery Executor. I have created one DAG inside that I have approximately 60000 tasks. I am trying to run this and When I trigger a DAG it starts running but not scheduling my tasks. It stays in running state for 2 days without scheduling the tasks.

      And the main bug is If i schedule 5000 tasks then it takes less than 1 minute to schedule it but if I am trying to schedule more than that limit it is scheduling my tasks.

      I have tried different solutions also to solve this the first one is:

      • PARALLELISM=1000
      • NON_POOLED_TASK_SLOT_COUNT=1000
      • DAG_CONCURRENCY=10000

      But, this does not work as New Version of airflow does not support non_pooled_task_slot_count.

      I have tried to use CELERYD_COUNT which is also not working in my case. I have tries mostly every changes which can be useful but none of them is working for me.

      Can someone let me know how can schedule this much amount of tasks /

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Trivedi Nidhi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: