From: Tom Hughes Date: Thu, 18 Feb 2021 16:41:05 +0000 (+0000) Subject: Tighten memory limits for imagery servers X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/94d510fe3242731a3a91e5f68eba46d596865657 Tighten memory limits for imagery servers --- diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 10c6fb449..c30c26d95 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -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"