[Tile-serving] [osm2pgsql] bad result during COPY (#159)

nahamada notifications at github.com
Fri Jun 20 15:47:45 UTC 2014


Actually, when I add a ```PQErrorMessage()``` where it crash, It say it's a "timeout connection to the database".
When I give it a little more RAM, the processing go faster, I can process the nodes, ways, etc....
but I timeout again during a commit. As I said before, when I tried with small extract, it went smoothly, because they wasn't enough data to timeout.

I tried to modified pgsql.c and middle-pgsql.c to add ```PQstatus()``` and ```PQreset()``` where if failed, but without success.

Do you have any idea why I timeout on Postgres : osm2pgsql connexion, postgres configuration and how to solve it ?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/159#issuecomment-46693856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140620/8febe4df/attachment.html>


More information about the Tile-serving mailing list