klokantech / tileserver-mapnik

Mapnik based tile server generating raster tiles from tilelive-js sources (MapBox Studio project + custom vector tiles for example). It supports also static maps API.
https://hub.docker.com/r/klokantech/tileserver-mapnik/
Other
63 stars 18 forks source link

Recent builds breaking tiles on missing markers #14

Closed klokan closed 8 years ago

klokan commented 8 years ago

Details in the duplicate ticket https://github.com/osm2vectortiles/osm2vectortiles/issues/235

petrsloup commented 8 years ago

@hyperknot I tried to reproduce the reported problem, but everything seems to be working okay for me with the latest docker image. (The missing icon is reported in the console, but the rendered image is successfully returned.) What exactly is the behavior -- 404 for the tile with missing icon? Or 500 Internal Server Error? Have you tried using klokantech/tileserver-mapnik:v2.0 docker image? Is the behavior any different?

hyperknot commented 8 years ago

@petrsloup it was an internal server error, 500 or 502 I'm not sure. I'll check it out.

About v2.0: is docker pull klokantech/tileserver-mapnik automatically on v2.0 or I need to specify it? I didn't find any information in docker hub about it.

petrsloup commented 8 years ago

The docker pull klokantech/tileserver-mapnik means latest by default. You can see the available built tags here: https://hub.docker.com/r/klokantech/tileserver-mapnik/tags/

hyperknot commented 8 years ago
  1. Ok, I set up a new clean VPS on a different provider, world mbtiles, md5 correct.
  2. Using latest version of style mapbox-studio-streets-basic, but could be any other mapbox style as well.
  3. docker run --name=osm2vec -v /root/osm:/data -p 0.0.0.0:25398:80 klokantech/tileserver-mapnik

Now, every time I try to zoom in on Bosnia and Herzegovina, it simply quits docker. No error, no warning, just 100% CPU core for a few seconds then quits. No missing marker texts this time, I believe it must have been something different. One terminating tile for example: mapbox-studio-osm-bright/6/36/23.png

:v2.0 is not affected.

Is there any way to get a log out of tessera and know why did it quit?

petrsloup commented 8 years ago

This is probably not related to the missing markers, but limited to some specific tile geometry.

This was identified as a bug in the node-mapnik package itself (see https://github.com/klokantech/tileserver-mapnik/issues/15 for details).

@hyperknot Please try updating to the latest build (docker pull klokantech/tileserver-mapnik:latest) and confirm this is fixed.

petrsloup commented 8 years ago

This should be solved now -- closing due to inactivity.

@hyperknot Reopen if the problem persists.