mapbox / tilelive-mapnik

mapnik renderer backend for tilelive
BSD 3-Clause "New" or "Revised" License
82 stars 64 forks source link

Randomly occurring PostGIS errors #121

Open freder opened 6 years ago

freder commented 6 years ago

I just set up a tile server, using tilelive-mapnik with tessera, which works just fine in the browser. however, with the script I'm using to scrape tiles and save them to file, I sometimes get these errors:

GET /12/2204/1346@2x.png 500 2220.111 ms - 311
Error: PostGIS: geometry name lookup failed for table ''. Please manually provide the 'geometry_field' parameter or add an entry in the geometry_columns for ''.
GET /12/2204/1346@2x.png 500 632.895 ms - 165
Error: Postgis Plugin: Null connection

feels very random.

essentially I'm just making http requests to the server, so I'm not even sure what the problem might be (and why it doesn't seem to happen in the browser).

the script

freder commented 6 years ago

update: I just noticed that it also happens in tileoven (when I'm zooming in very quickly?)

zdila commented 2 years ago

check max_size mapnik config parameter if it is big enough