]> git.openstreetmap.org Git - chef.git/commitdiff
Tighten memory limits for imagery servers
authorTom Hughes <tom@compton.nu>
Thu, 18 Feb 2021 16:41:05 +0000 (16:41 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 18 Feb 2021 16:41:05 +0000 (16:41 +0000)
cookbooks/imagery/resources/site.rb

index 10c6fb449ca4a80f47e8b5f772539c78f1be2c3b..c30c26d9592d445ebfc733f9091ea31472bdee02 100644 (file)
@@ -107,8 +107,8 @@ action :create do
                   "GDAL_CACHEMAX" => "512"
       limit_nofile 16384
       limit_cpu 180
-      memory_high "1G"
-      memory_max "2G"
+      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"