Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDS leaking DB connections #6342

Open
ebo-bpi opened this issue Oct 19, 2022 · 1 comment
Open

CDS leaking DB connections #6342

ebo-bpi opened this issue Oct 19, 2022 · 1 comment
Labels

Comments

@ebo-bpi
Copy link

ebo-bpi commented Oct 19, 2022

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

@yesnault
Copy link
Member

yesnault commented Nov 3, 2022

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

@yesnault yesnault added the bug label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants