X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/87daa0d823c8f92eda8190f2d9b482b3d85a7a0c..64d9f0a80c133eb486067b019f82499060a4767c:/cookbooks/imagery/resources/site.rb diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 50bfd24b8..e64231a72 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -19,6 +19,8 @@ require "yaml" +unified_mode true + default_action :create property :site, String, :name_property => true @@ -107,7 +109,8 @@ action :create do "GDAL_CACHEMAX" => "512" limit_nofile 16384 limit_cpu 180 - memory_max "4G" + memory_high "512M" + memory_max "1G" user "imagery" group "imagery" exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}-#{index}.socket"