From: Grant Slater Date: Fri, 6 Jul 2018 10:24:33 +0000 (+0100) Subject: Imagery: set GDAL_CACHEMAX environment variable X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/54b26b3054c5cf68acde82ec008be465b5c7d83f?ds=sidebyside Imagery: set GDAL_CACHEMAX environment variable --- diff --git a/cookbooks/imagery/resources/layer.rb b/cookbooks/imagery/resources/layer.rb index 324d61a92..bf943723a 100644 --- a/cookbooks/imagery/resources/layer.rb +++ b/cookbooks/imagery/resources/layer.rb @@ -68,7 +68,8 @@ action :create do environment "MS_MAPFILE" => "/srv/imagery/mapserver/layer-#{new_resource.layer}.map", "MS_MAP_PATTERN" => "^/srv/imagery/mapserver/", "MS_DEBUGLEVEL" => "0", - "MS_ERRORFILE" => "stderr" + "MS_ERRORFILE" => "stderr", + "GDAL_CACHEMAX" => "128" limit_nofile 16384 memory_high "512M" memory_max "2G"