NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I've successfully imported the whole planet and the rendering works (slowly, but that's another problem). I've tried to update using the openstreetmap-tile-update-expire script, but it keep using all the RAM available and been killed, despite the fact that I'm using flag-nodes and that I tried to limitate the RAM usage with the -C option. I have 32Gb of RAM + the same in SWAP, so it doesn't make any sense to me. I've tried the -C option with only 8gb and the same append, it seems this option is not working as I expected.

The exact command used:

osm2pgsql -a --slim -G --hstore --hstore-match-only -S /path/to/my/script --flat-nodes /path/to/flat_nodes.bin -e13-20  -d gis -C 8000 -o "$EXPIRY_FILE.$$" $CHANGE_FILE

I've watched it working while monitoring the RAM usage, it's working fine at the beginning but as it progress, it's using more and more RAM, probably a memory leak somewhere but I can't find where and why... The RAM usage inscrease until it reaches the maximum, then after "Left to process: 6221" the process was killed.

Does someone have any idea of what's appening?

Thanks.

asked 02 Nov '18, 09:33

voharunado's gravatar image

voharunado
665510
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×263
×199
×15
×4

question asked: 02 Nov '18, 09:33

question was seen: 1,279 times

last updated: 02 Nov '18, 09:33

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum