]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / imagery / resources / site.rb
index 50bfd24b8fd2dcc914f05d73ed3af0145ef3b3ee..c30c26d9592d445ebfc733f9091ea31472bdee02 100644 (file)
@@ -107,7 +107,8 @@ action :create do
                   "GDAL_CACHEMAX" => "512"
       limit_nofile 16384
       limit_cpu 180
                   "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"
       user "imagery"
       group "imagery"
       exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}-#{index}.socket"