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

I want to start my own tile server, I used this manual to set up my machine. And everything is working with a small country. Then I ordered powerful machine and started rendering full planet. db_settings My import command was: command. My import output is: output My database log is: log. As the result, my renderd doesn't serve tiles and this is its output: link I made import twice and got the same result. What did I do wrong?

asked 31 Aug '17, 10:01

vovakr's gravatar image

vovakr
11113
accept rate: 0%

Okay, I redid the import. Here is a result: output There weren't any errors or anything strange. And again nothing works. What is the possible problem?

(04 Sep '17, 15:29) vovakr
2

This seems to be ok now. Please explain in which way "my renderd doesn't serve tiles". When you try and access a tile, does it immediately return an error message, or does it take a while before an error is returned? Or do you get a white or blue tile only? Does /var/lib/mod_tile contain any .meta files in any of the subdirectories?

(04 Sep '17, 21:34) Frederik Ramm ♦

The import was not successful. A successful import will end with a line such as

osm2pgsql took 12,735s overall

But I don't see that in the import output. Can you investigate what else happened at 2017-08-31 00:48:41 UTC (perhaps, the machine running out of memory?).

permanent link

answered 31 Aug '17, 10:48

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Thank you. My machine is AWS t2.2xlarge (8 cores, 32 GB RAM, 1TB SSD) Could you also recommend some changes to my DB configuration? I will add a swap file. What else can I do to ensure in a successful import?

(31 Aug '17, 11:18) vovakr
2

I can't help with sizing for a planet import, I'm afraid. There are some benchmarks at https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks , but I'd take those with a big pinch of salt - some of them are quite old, when the planet was much smaller.

(31 Aug '17, 12:04) SomeoneElse ♦
1

For completeness (and hopefully useful to someone else) your later import says "Osm2pgsql took 174848s overall", which is just over 2 days elapsed.

(04 Sep '17, 15:37) SomeoneElse ♦

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:

×196
×105
×25

question asked: 31 Aug '17, 10:01

question was seen: 2,107 times

last updated: 04 Sep '17, 21:34

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