X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e3fb77fdd36918d2367cfb6bf05befecf4a8f98b..77c15edb86c1c5a78904db4da60a4806cc3e1bb6:/cookbooks/imagery/resources/site.rb diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 936f23cc7..97163ee3e 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -106,7 +106,8 @@ action :create do "MS_ERRORFILE" => "stderr", "GDAL_CACHEMAX" => "512" limit_nofile 16384 - memory_max "2G" + limit_cpu 60 + memory_max "4G" user "imagery" group "imagery" exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}-#{index}.socket"