]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: use limit_as on service
authorGrant Slater <git@firefishy.com>
Thu, 20 Dec 2018 22:42:53 +0000 (22:42 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 20 Dec 2018 22:44:03 +0000 (22:44 +0000)
cookbooks/imagery/resources/site.rb

index 936f23cc7f9149bb8114f7fa746d40b2793663a5..16e48d3804070f1941a3f0719aa240cc10083224 100644 (file)
@@ -106,6 +106,7 @@ action :create do
                   "MS_ERRORFILE" => "stderr",
                   "GDAL_CACHEMAX" => "512"
       limit_nofile 16384
                   "MS_ERRORFILE" => "stderr",
                   "GDAL_CACHEMAX" => "512"
       limit_nofile 16384
+      limit_as "1G"
       memory_max "2G"
       user "imagery"
       group "imagery"
       memory_max "2G"
       user "imagery"
       group "imagery"