## The problem
Issue apache/airflow#49887 (closed, 55 comments): ### Apache Airflow version 3.0.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? Upgraded Airflow from 2.10 to 3.0.0 and DagProcessorJob getting failed after few hours. with below exception **OSError: [Errno 24] Too many open files** ``` [2025-04-25T21:30:41.765+0100] {dag_processor_job_runner.py:63} ERROR - Exception when executing DagProcessorJob Traceback (most recent call last): File "/var/opt/rdos-airflow/venv/lib/python3.10/site-packages/airflow/jobs/dag_processor_job_runner.py", line 61, in _execute self.processor.run() File...
## What fixed it
Upgrade to an Airflow release that includes PR #50558. That PR fixed the file-descriptor leak behind `airflow dags test` (and other CLI paths) leaking descriptors, and the reporter confirmed the FD count stopped growing after the fix. If you are pinned to an older Airflow, there is no config workaround in the thread; upgrading to the fixed release is the resolution.