Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the default min_file_process_interval to decrease CPU Usage #13664

Merged
merged 1 commit into from Jan 14, 2021

Conversation

kaxil
Copy link
Member

@kaxil kaxil commented Jan 14, 2021

With the previous default of 0, the CPU Usage mostly stays around 100.
As in Airflow 2.0.0, the scheduling decisions have been moved out from
DagFileProcessor to Scheduler, we can keep this number high.

closes #13637


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

With the previous default of `0`, the CPU Usage mostly stays around 100.
As in Airflow 2.0.0, the scheduling decisions have been moved out from
DagFileProcessor to Scheduler, we can keep this number high.

closes apache#13637
@kaxil kaxil added this to the Airflow 2.0.1 milestone Jan 14, 2021
@kaxil kaxil requested a review from ashb January 14, 2021 04:02
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jan 14, 2021
@kaxil kaxil merged commit e4b8ee6 into apache:master Jan 14, 2021
@kaxil kaxil deleted the update-default-min-file-proc-in branch January 14, 2021 14:21
kaxil added a commit to astronomer/airflow that referenced this pull request Jan 15, 2021
…age (apache#13664)

With the previous default of `0`, the CPU Usage mostly stays around 100.
As in Airflow 2.0.0, the scheduling decisions have been moved out from
DagFileProcessor to Scheduler, we can keep this number high.

closes apache#13637

(cherry picked from commit e4b8ee6)
kaxil added a commit that referenced this pull request Jan 21, 2021
…age (#13664)

With the previous default of `0`, the CPU Usage mostly stays around 100.
As in Airflow 2.0.0, the scheduling decisions have been moved out from
DagFileProcessor to Scheduler, we can keep this number high.

closes #13637

(cherry picked from commit e4b8ee6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scheduler takes 100% of CPU without task execution
2 participants