[Tile-serving] Unable to serve tiles using latest instructions to build your own OSM tile server

Pawan Singh psingh at silver-peak.com
Wed Oct 21 06:46:39 UTC 2015



I built a tile server instance on AWS following the steps here:


https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/


The machine configuration is:

16GB of RAM

4 CPUs

Ubuntu 14.04 LTS

PostGresql: 9.3

1.5 TB of SSD Amazon Elastic Block Storage


When I request for a tile using leaflet, I see the following log entries:

Oct 21 05:49:03 ip-10-200-1-158 renderd[1339]: DEBUG: Got incoming connection, fd 8, number 1
Oct 21 05:49:03 ip-10-200-1-158 renderd[1339]: DEBUG: Got incoming request with protocol version 2
Oct 21 05:49:03 ip-10-200-1-158 renderd[1339]: DEBUG: Got command RenderPrio fd(8) xml(default), z(2), x(0), y(1), mime(image/png), options()
Oct 21 05:49:03 ip-10-200-1-158 renderd[1339]: DEBUG: START TILE default 2 0-3 0-3, new metatile
Oct 21 05:49:03 ip-10-200-1-158 renderd[1339]: Rendering projected coordinates 2 0 0 -> -20037508.342800|-20037508.342800 20037508.342800|20037508.342800 to a 4 x 4 tile
Oct 21 05:49:33 ip-10-200-1-158 renderd[1339]: DEBUG: Failed to read cmd on fd 8
Oct 21 05:49:33 ip-10-200-1-158 renderd[1339]: DEBUG: Connection 0, fd 8 closed, now 0 left


It seems like server is receiving a tile request, starts generating it - but times out.


I would have thought that resources provided would be enough. Can anyone help me debug this? One difference I see from instructions is that PostGresql version in the instructions is 9.1. But that should not make much difference.


BTW - tile requests for zoom level 1 and 2 work.



-Pawan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151021/d5964d73/attachment-0001.html>


More information about the Tile-serving mailing list