-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
DockerDocker image and/or related script(s)Docker image and/or related script(s)enhancementNew feature or requestNew feature or request
Description
Details
Using osm2pgsql for PgOSM Flex creates a relatively large number of connections to Postgres based on the number of tables created by the Flex output. This was discovered here (#226 (comment)) and answered on the osm2pgsql discussion here. Now documented on osm2pgsql.org: https://osm2pgsql.org/doc/manual.html#number-of-connections
It is unlikely this behavior will change in osm2pgsql so the plan is to bake pgBouncer into the Docker image, example standalone pgbouncer image here. Until this is in place, running --append mode will require upping the max_connections to at least 210, preferably 300 to give headroom.
Metadata
Metadata
Assignees
Labels
DockerDocker image and/or related script(s)Docker image and/or related script(s)enhancementNew feature or requestNew feature or request