tileserver-gl icon indicating copy to clipboard operation
tileserver-gl copied to clipboard

Performance issues and blanks rasters with serveAllStyles enabled

Open mayjolux opened this issue 3 years ago • 2 comments

Currently using v3.1.1

The serveAllStyles config is great for on the fly adding of styles and it works like a charm, but there is a small problem concerning the tileserver performance.

I use the raster version a lot to generate rasterized printable maps and from time to time I get blank tiles reported back from the tileserver. I noticed that this happens quite a lot after I reach a count of 10 or more on the fly added styles in the styles directory, it seems that this generates overall performance problems on the tileserver. Now to make sure that it wasn't related to a bottleneck on my production server, I created a separate tileserver which uses the same styles directory for the soul purpose of serving rasters, so that there is no load on it.

But unfortunately the same problem appears after adding new styles for a while. To resolve the issue I have to remove the styles that are not defined in the config.json.

Do you have any idea what could be the reason for this beahviour?

mayjolux avatar Mar 08 '21 11:03 mayjolux

Could you please check if #529 helps you?

candux avatar Mar 11 '21 16:03 candux

I tried your fix but sadly it still happens, the raster mode really struggles to serve the tiles and mostly serves blanks after a certain time. But I also noticed that the memory of the tileserver is slowly filling up, this could be related.

mayjolux avatar Mar 24 '21 07:03 mayjolux