You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Felix (JIRA)" <ji...@apache.org> on 2017/12/25 02:12:00 UTC

[jira] [Updated] (AIRFLOW-1117) Increase the default value of min_file_process_interval

     [ https://issues.apache.org/jira/browse/AIRFLOW-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix updated AIRFLOW-1117:
---------------------------
    Attachment: screenshot-1.png

> Increase the default value of min_file_process_interval
> -------------------------------------------------------
>
>                 Key: AIRFLOW-1117
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1117
>             Project: Apache Airflow
>          Issue Type: Wish
>          Components: scheduler
>    Affects Versions: 1.8.0
>            Reporter: Keisuke Nishida
>            Priority: Minor
>         Attachments: screenshot-1.png
>
>
> I observed high CPU usage after upgrading Airflow from 1.7.1.3 to 1.8.0.
> I found Airflow is loading DAG files repeatedly, which consumed most of the CPU time in my Airflow instance.  I realized Airflow 1.8 introduced a new configuration variable {{min_file_process_interval}} with default value 0.  This means Airflow reloads DAG files one after another without any interval.
> Can you increase the default value of {{min_file_process_interval}} to at least the same value of {{scheduler_heartbeat_sec}}, which is 5 seconds?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)