]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
imagery: use nginx upstream round-robin instead of least_conn
[chef.git] / cookbooks / imagery / resources / site.rb
index 936f23cc7f9149bb8114f7fa746d40b2793663a5..97163ee3ea8d3a7c0adc5f2ad426fcbaeea11a93 100644 (file)
@@ -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"