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 |
The import was not successful. A successful import will end with a line such as
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?). answered 31 Aug '17, 10:48 SomeoneElse ♦ 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 ♦
|
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?
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?