Airbnb Airflow using all system resources

后端 未结 7 1881
温柔的废话
温柔的废话 2021-02-03 19:48

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

7条回答
  •  再見小時候
    2021-02-03 19:56

    the key point is HOW to processing dag files. reduce cpu usage from 80%+ to 30% for scheduler on a 8-core server, i have updated 2 config key,

    min_file_process_interval from 0 to 60.
    max_threads from 1000 to 50. 
    

提交回复
热议问题