CDS leaking DB connections
ebo-bpi opened this issue · comments
ebo-bpi commented
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.
Yvonnick Esnault commented
Thank you @ebo-bpi , we will investigate this behaviour.