maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.24k stars 639 forks source link

[2.6.0] Possible memory leak in static service #397

Open Yomyer opened 4 years ago

Yomyer commented 4 years ago

Hello,

I'm using tileserver-gl 2.6.0 with docker lokantech/tileserver-gl and I'm noticing a very high memory consumption every time I use the static service.

The problem is not the use of memory but then does not release that memory to fill 100% of memory and block the server.

We are talking about a server with 4 GB of ram which is filled with approximately 100 calls.

The installation was done with docker : sudo docker run -it -d -v $(pwd):/data -p 8080:80 --restart unless-stopped --name tileserver klokantech/tileserver-gl

The call I use is: https://domain.com/styles/dark/static/-6.00198,37.38815,15/1000x400.png

Is there a process that stays running after generating the image? Memory Leak?

I'll try previous versions to see if this also happens.

Thank you

rodolfo-beletatti commented 4 years ago

@petrsloup I am suffering qfrom the same issue here. Maybe https://github.com/maptiler/tileserver-gl/issues/418 it's a related issue. How can I help you to fix it? It will be very useful