openstreetmap-tile-server icon indicating copy to clipboard operation
openstreetmap-tile-server copied to clipboard

Import error: /run.sh: line 130: 123 Killed

Open WhatzzUp opened this issue 2 years ago • 2 comments

Hello folks,

i try to run the default setting by following the readme part Letting the container download the file but run into some trouble.

If i run the following command

docker run \
    -e DOWNLOAD_PBF=https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf \
    -e DOWNLOAD_POLY=https://download.geofabrik.de/europe/luxembourg.poly \
    -v osm-data:/data/database/ \
    overv/openstreetmap-tile-server \
    import

i got the following output

  ...

  INFO:root:Starting load of external data into database
  INFO:root:Checking table simplified_water_polygons
  INFO:root:  Fetching https://osmdata.openstreetmap.de/download/simplified-water-polygons-split-3857.zip
  INFO:root:  Download complete (23739686 bytes)
  INFO:root:  Decompressing file
  INFO:root:  Importing into database
  INFO:root:  Import complete
  INFO:root:Checking table water_polygons
  INFO:root:  Fetching https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip
  /run.sh: line 130:   123 Killed                  sudo -E -u renderer python3 /data/style/scripts/get-external-data.py -c /data/style/external-data.yml -D /data/style/data

Has someone else experience with this issue?

Tried on

  • my mac (arm64) locally
  • and on our debian server

with different versions (2.2.0, 2.0, 1.8.2) without any success.

Thx for your help!

WhatzzUp avatar Dec 01 '22 12:12 WhatzzUp

Killed is an indication of having run out of memory. On your Mac you might try increasing the ram of your docker machine. On your server you could add more swap space

nielsole avatar Dec 02 '22 19:12 nielsole

Make sure you add more swap space that is available, tutorial. Then add -m and --memory-swap parameters. Like: docker -m=2G --memory-swap=8G run *rest of the command*

atesahmet0 avatar Feb 16 '24 03:02 atesahmet0