Airflow Triggerer memory leak #65985
Replies: 4 comments 5 replies
-
|
Please test it with memray and provide us flamegraphs https://airflow.apache.org/docs/apache-airflow/stable/howto/memory-profiling.html |
Beta Was this translation helpful? Give feedback.
-
|
Ideally - analyse it before to se if this is not issue in one of your deps. |
Beta Was this translation helpful? Give feedback.
-
|
@deepak4babu If you'd like to try it before then, feel free to apply the patch from that PR #65994. Happy to help if you run into any trouble :) |
Beta Was this translation helpful? Give feedback.
-
|
May be the same reason as for dag processor memory leak, see 2nd point here: #50708 (comment) Seems like structlog.BytesLogger is also called for each trigger and it leaks file handles: |
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.
-
Under which category would you file this issue?
Airflow Core
Apache Airflow version
3.2.0
What happened and how to reproduce it?
Airflow trigger memory is increasing continously
What you think should happen instead?
Memory should drop after certain period
Operating System
Debian GNU/Linux 12 (bookworm)
Deployment
Other
Apache Airflow Provider(s)
No response
Versions of Apache Airflow Providers
apache-airflow-providers-celery==3.17.1
apache-airflow-providers-cncf-kubernetes==10.14.0
apache-airflow-providers-common-compat==1.14.1
apache-airflow-providers-common-io==1.7.1
apache-airflow-providers-common-sql==1.33.0
apache-airflow-providers-fab==3.6.1
apache-airflow-providers-smtp==2.4.3
apache-airflow-providers-standard==1.12.1
Official Helm Chart version
Not Applicable
Kubernetes Version
Not applicable
Helm Chart configuration
Not applicable
Docker Image customizations
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions