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:02 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16303015#comment-16303015 ]
Felix commented on AIRFLOW-1117:
--------------------------------
I tried setting it to:
{code:java}
min_file_process_interval = 900
{code}
But it made no difference
!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)