[Tile-serving] Tiles aren't rendering
Stephen D
junkmail at scd31.com
Tue Apr 23 18:47:39 UTC 2019
Hi,
My tile server is not rendering tiles. I had it working with
Canada(imported w/o a flat file), but after dropping the database and
re-importing the whole planet(with a flat file) it no longer works.
The command I used to import was: osm2pgsql -d gis --create --slimĀ -G
--hstore --tag-transform-script
~/src/openstreetmap-carto/openstreetmap-carto.lua --flat-nodes
~/data/flatnodes.binĀ -C 6000 --drop --number-processes 8 -S
~/src/openstreetmap-carto/openstreetmap-carto.style
/home/stephen/planet-latest.osm.pbf
When requesting a tile, this shows up in the log file:
Apr 23 18:37:15 osm-tilemap renderd[1488]: DEBUG: Connection 0, fd 7
closed, now 0 left
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got incoming
connection, fd 7, number 1
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got incoming request
with protocol version 2
Apr 23 18:39:21 osm-tilemap renderd[1488]: DEBUG: Got command RenderPrio
fd(7) xml(ajt), z(1), x(1), y(1), mime(image/png), options()
Apr 23 18:39:51 osm-tilemap renderd[1488]: DEBUG: Connection 0, fd 7
closed, now 0 left
After 30 seconds it times out. No tiles appear in the cache directory,
even after several minutes. The CPU reaches 20% per core for all cores,
and disk usage is around 200MB/s read. Both the CPU and disk are used by
the postgresql process.
I am using apache2, mod_tile, mapnik, and renderd.
Thanks,
Stephen
More information about the Tile-serving
mailing list