wjddn279 commented on PR #56044: URL: https://github.com/apache/airflow/pull/56044#issuecomment-3678783308
@AmosG Yes, regarding this issue, we are currently discussing an approach where, in the DAG processor, garbage collection is disabled for objects created before spawning subprocesses, in order to prevent GC from collecting the database connection objects. However, the API server is unlikely to be affected by this issue. As summarized in https://github.com/apache/airflow/pull/56044#issuecomment-3426111038 , although the API server does spawn subprocesses, the parent process does not use the corresponding connections, so it is not impacted by this behavior. The examples you mentioned also all occur on PostgreSQL, so they appear to be a separate issue. We will try to move forward with a patch in this direction as quickly as possible. In the meantime, you may refer to and apply the changes I previously suggested as a workaround. https://github.com/apache/airflow/pull/56044#issuecomment-3489636702 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
