ovh / cds

Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform

Home Page:https://ovh.github.io/cds/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CDS leaking DB connections

ebo-bpi opened this issue · comments

Max DB connections is set to 20.
After some running period I see DB connections is growing to more than 100.
I'm using Postgres as DB.

DB currently have a limit of 100, so after this max is reached CDS is hanging.
The setup I'm using currently is:

cds-engine start api ui cdn hooks vcs repositories hatchery:local
so 1 process for all services.
Local hatchery.
max workers is set to 4.

I do have a couple of workflows building my apps.

attached a part of the logfile after a clean start.

cds-engine.log

Thank you @ebo-bpi , we will investigate this behaviour.