]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: set mapserver memory limit
authorGrant Slater <github@firefishy.com>
Sat, 7 Dec 2024 16:54:40 +0000 (16:54 +0000)
committerGrant Slater <github@firefishy.com>
Sat, 7 Dec 2024 16:54:40 +0000 (16:54 +0000)
cookbooks/imagery/resources/site.rb

index 83926229a50a42bb559283c4f1ef844e63491178..adbd8e857e728776b1a04d3a068d9538338d2e8f 100644 (file)
@@ -107,6 +107,7 @@ action :create do
                 "MS_ERRORFILE" => "stderr",
                 "GDAL_CACHEMAX" => "512"
     limit_nofile 16384
+    memory_max "8G"
     user "imagery"
     group "imagery"
     exec_start "/usr/bin/multiwatch -f 8 --signal=TERM -- /usr/lib/cgi-bin/mapserv"