Overv / openstreetmap-tile-server

Docker file for a minimal effort OpenStreetMap tile server
Apache License 2.0
1.23k stars 485 forks source link

Container DB fills up importing americas #366

Open red-smeg opened 1 year ago

red-smeg commented 1 year ago

when doing the docker run to import data I get the following error.

docker run \ ─╯ -v ~/Downloads/north-america-latest.osm.pbf:/data/region.osm.pbf \ -v osm-data:/data/database/ \ overv/openstreetmap-tile-server \ import

gives

Processing: Node(1649260k 782.0k/s) Way(0k 0.00k/s) Relation(0 0.0/s) 2023-02-14 19:08:30 ERROR: DB copy thread failed: Ending COPY mode for 'planet_osm_nodes' failed: ERROR: could not extend file "base/16385/17545.30": wrote only 4096 of 8192 bytes at block 4045912 HINT: Check free disk space. CONTEXT: COPY planet_osm_nodes, line 748494000

I have almost a terabyte free on the drive but when the container hist 51GB it fails

running on Mac OS 13.2.1 with Docker 4.16.2 (95914)

zhibin-wang09 commented 7 months ago

Were you able to solve this issue?