You might have some code in your DAG to open and not close those connections. I think in normal circumstances there should be connection pools used and no connections should be left-over in idle state. Which version of Airflow are you using? Can you make a quick test and modify your DAGs to do nothing (i.e. comment out everything) and see if the problem persists? That could help you to narrow-down what is causing the problem.
On Fri, Dec 27, 2019 at 8:49 AM Mehmet Ersoy <[email protected]> wrote: > Helle friends, > > I am using Airflow Celery Executor (with postgres backend) and when I start > a dag workers are oppening so many connections and when they finish them > work these connections are remaining "idle" status. > > Why doesn't they close the connection completely? > > Thanks, > Best regards, > Mehmet. > -- Jarek Potiuk Polidea <https://www.polidea.com/> | Principal Software Engineer M: +48 660 796 129 <+48660796129> [image: Polidea] <https://www.polidea.com/>
