[Tile-serving] [openstreetmap/mod_tile] memory consumption (#181)

duerk-de notifications at github.com
Mon Nov 30 10:34:33 UTC 2020


Since either **restarting postgresql or restarting renderd** releases huge amount of memory, there must be an issue with the connection of both processes.

I found an interesting post regarding **long running connections**:
> The most likely cause for this is that PostgreSQL keeps a **per-connection cache** of metadata about all the database objects (tables, indexes, etc.) it has touched during the connection lifetime. **There is no upper limit** on how big this cache can get, and no mechanism for expiring it.
(https://dba.stackexchange.com/questions/160887/how-can-i-find-the-source-of-postgresql-per-connection-memory-leaks/222815#222815)

The usual solutions seems is to set a maximum life time for a single connection. Is there such an option in renderd?

-- 
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-735701789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201130/657b1dab/attachment.htm>


More information about the Tile-serving mailing list