We\'ve set up Airbnb/Apache Airflow for our ETL using LocalExecutor
, and as we\'ve started building more complex DAGs, we\'ve noticed that Airflow has starting usin
I have faced the same issue deploying airflow on EKS.Its resolved by updating max_threads to 128 in airflow config.
max_threads: Scheduler will spawn multiple threads in parallel to schedule dags. This is controlled by max_threads with default value of 2. User should increase this value to a larger value (e.g numbers of cpus where scheduler runs - 1) in production.
From here https://airflow.apache.org/docs/stable/faq.html