X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/141871be7be50fe092cef6c84cfc84f2393c3545..2ecb8ca90ac730ada6e083aebd8f3265033f46d5:/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"