Replies: 2 comments 1 reply
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
|
Interesting discussion. But i am not sure what "problem" you are desribing. You describe change in behaviour, for sure, but not necesarily problem, Yes, if you limit CPU for DagProcess and it will want to use more of it, it will get throttled. But maybe simply it means that DagFileprocessor is just more efficient in parallelims in 3.1.3 and simply your throtling does not let you utilise it's new capabilities now - and for example be more efficient in parsing things in parallel. There are various configuration option you can set to control parallelism (see configuration of dag Processor) and if your goal is to limit how many CPUS it uses, maybe you should use those options, I don't see how just "presence" of throttling without explaining your reasoning of how you deliberately configured it for throttling, what your decionse were when you tested were - so this post does not classify as "problem" (without having an actual problem statement) - rather than merely an "observation". If you would like to discuss your assumptions, calculations and results of tests showing that this throtting is something that does not come from simply the fact that you set specific throttling levels - feel free to discuss it further here, but you need to specify what your problem statement is other than ("things changed") - because this is the only reasonable thing that you can see from your graphs. Yes. They changed .. . So ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version
3.1.3
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
We are currently using Airflow 3.1.0. After upgrading to the latest versions:
We observed significant CPU throttling in the DagProcessor.
As shown in the graphs below, CPU throttling has increased dramatically:


CPU usage has also increased, but not nearly as much as throttling:


These spikes on the graph correspond to the activity of the DagFileProcessorManager
Our Airflow resources run in a Kubernetes cluster. We did not change anything except the package versions.
requrements.txt:
values.yaml:
I were trying to change these parameters after upgrade:
And increase CPU limits/requests (x2). Nothing helped.
What you think should happen instead?
No response
How to reproduce
Upgrade airflow version, for example, from 3.1.0 -> 3.1.3 version and check CPU usage and throttling.
Operating System
Debian GNU/Linux 12 (bookworm)
Versions of Apache Airflow Providers
# pip3 list | grep providers
Deployment
Official Apache Airflow Helm Chart
Deployment details
helm
Anything else?
Constantly after upgrade
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions