Gollum999 commented on issue #31945: URL: https://github.com/apache/airflow/issues/31945#issuecomment-1597375800
That's a bit frustrating. Some Qs to make sure we aren't missing something obvious: * Did you restart your DB after applying `idle_in_transaction_session_timeout = 60000`? * Are you using the default configs around SQLAlchemy pools? Mine are: ``` sql_alchemy_pool_enabled = True sql_alchemy_pool_size = 5 sql_alchemy_max_overflow = 10 sql_alchemy_pool_recycle = 1800 sql_alchemy_pool_pre_ping = True ``` * Any other non-default Airflow configs? The only ones that come to mind for me are: ``` executor = LocalExecutor parallelism = 12 sql_alchemy_conn = postgresql+psycopg2://<user>:<pass>@localhost/<db_name> min_file_process_interval = 5 dag_dir_list_interval = 30 ``` Do you know of any other way to track DB connection lifetimes? Maybe there is another way to check for open transactions that doesn't rely on `idle_in_transaction_session_timeout`. -- 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]
