[Tile-serving] [openstreetmap/mod_tile] memory consumption (#181)
duerk-de
notifications at github.com
Thu Dec 3 20:59:52 UTC 2020
In my case there are four tables with an index for each of them, like osm2pgsql creates. A geometry is indexed using postgis plugin.
I did not dig into detail of postgis or postgresql caching mechanisms but I made a simple test using logged queries from tile rendering. I wrote a php script issuing this queries with the option of closing and reopening the connection in between.
During querying the database a postgresql process increased memory consumption. The memory consumtion of the php script did not change at all. After closing the connection the postgresql process vanished and all memory was freed.
I did not see any memory increase on client side which is in contradiction to the comments here and to what I experienced after starting the rendering session. But after some time of rendering, where low zoom levels with large query result sets are completely rendered, there seems to be low memory consumption increase on client (renderd) side but on server side.
For the record some rough data:
- memory increase: 10 GB per day
- database queries: 450000 per day
- unique database queries: 150000 per day
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/181#issuecomment-738303445
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201203/637dc301/attachment.htm>
More information about the Tile-serving
mailing list