[OSM-dev] Modtile priorities

yvecai ycai at mailbox.org
Wed Jun 23 18:43:49 UTC 2021


I'm installing a new style on my tile server. No tile is pre-rendered yet.

When I'm browsing the map to check this new style, I'm expecting to wait 
for the tile to render. However, I also notice that if I'm browsing the 
other style at the same time, tiles that are already in cache wait for 
the other map rendering to finish before being served.

I'm failing to see the bottleneck here, renderd has 8 thread on a 64GB, 
8 core, Nvme machine, below is modtile configuration


    LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so
         # 24j: 2073600
         # 12j: 1036800
         # 24h: 86400
         LoadTileConfigFile /etc/renderd.conf
         ModTileRequestTimeout 0.5
         ModTileMissingRequestTimeout 30
         ModTileMaxLoadOld 100
         ModTileMaxLoadMissing 100
         ModTileVeryOldThreshold 31536000000000
         ModTileRenderdSocketName /var/run/renderd/renderd.sock
         ModTileCacheDurationMax 1036800
         ModTileCacheDurationDirty 900
         ModTileCacheDurationMinimum 10800
         ModTileCacheDurationMediumZoom 13 518400
         ModTileCacheDurationLowZoom 9 2073600
         ModTileCacheLastModifiedFactor 0.20

         ModTileEnableTileThrottling Off

         ModTileEnableTileThrottlingXForward 0
         ModTileThrottlingTiles 10000 1
         ModTileThrottlingRenders 256 0.5

Regards, Yves

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20210623/033e2c7a/attachment.htm>


More information about the dev mailing list