[Tile-serving] [osm2pgsql-dev/osm2pgsql] Significantly reduce number of db connection in flex output (PR #2134)

Ryan Lambert notifications at github.com
Tue Feb 6 13:16:16 UTC 2024


It looks like the error was in my code running `osm2pgsql-replication`.  This command had been working prior to these changes:

```
osm2pgsql-replication update -d $PGOSM_CONN \
    -- \
    --output=flex --style=./run.lua \
    --slim \
    -d $PGOSM_CONN
```

It works if I take off the second `-d $PGOSM_CONN`.  I don't know why I had been defining the `-d` option twice but there it is!  I have to set this aside for the rest of today, but will come back and double check the drop in connection usage during this stage too.  Replication updates were where it hit really hard with 200+ connections.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2134#issuecomment-1929552299
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2134/c1929552299 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240206/da8fc2f3/attachment.htm>


More information about the Tile-serving mailing list