[Tile-serving] [openstreetmap/osm2pgsql] Process killed when allowing too much RAM/threads (#931)
timautin
notifications at github.com
Mon May 13 22:05:35 UTC 2019
Hello,
When inserting the planet PBF file, the process starts normally, completely fills my RAM (64 GB), fills my swap (32 GB) and then the process is killed.
My server has 8 core / 16 threads, and I'm using this command:
`osm2pgsql -d osm --create --slim -G --hstore -C 30000 --number-processes 14 --tag-transform-script ~/src/map-styles/openstreetmap-carto/openstreetmap-carto.lua --style ~/src/map-styles/openstreetmap-carto/openstreetmap-carto.style ~/data/osm-pbf/planet-latest.osm.pbf`
This fills the RAM+swap in 1/2 h, and gets killed.
When using lower values for the memory, it takes more time to fill the RAM, but is still killed in the end. On another server I manager the import with -C 2000 and --number-processes 2. But it took a long time and I'd like to run it as fast as possible.
What parameters should I use?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190513/aae5773d/attachment.html>
More information about the Tile-serving
mailing list