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

Reduce the number of connections to the database from CGImap #252

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

Rub21
Copy link
Collaborator

@Rub21 Rub21 commented Dec 6, 2023

Having 30 instances connected to the DB for cgimap is generating issues

[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Starting job worker
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Error while reserving job: connection to server at "172.20.67.93", port 5432 failed: FATAL:  sorry, too many clients already
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Error while reserving job: connection to server at "172.20.67.93", port 5432 failed: FATAL:  sorry, too many clients already
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Error while reserving job: connection to server at "172.20.67.93", port 5432 failed: FATAL:  sorry, too many clients already
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Error while reserving job: connection to server at "172.20.67.93", port 5432 failed: FATAL:  sorry, too many clients already
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:275)] Error while reserving job: connection to server at "172.20.67.93", port 5432 failed: FATAL:  sorry, too many clients already
[Worker(host:production-osm-seed-web-5c9c5db786-zbw9g pid:2

I am reducing the number of connection to DB to 10 .

cc. @batpad @1ec5 @danrademacher @mmd-osm

@Rub21 Rub21 merged commit ab6c896 into main Dec 6, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant