From d3dc43c96d47c2a49c9a9d2118ae1d3c3d6af02f Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 7 Dec 2024 16:54:40 +0000 Subject: [PATCH] imagery: set mapserver memory limit --- cookbooks/imagery/resources/site.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 83926229a..adbd8e857 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -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" -- 2.39.5