]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: squeeze mapserver memory more
authorGrant Slater <github@firefishy.com>
Wed, 11 Dec 2024 20:35:11 +0000 (20:35 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 11 Dec 2024 20:35:11 +0000 (20:35 +0000)
cookbooks/imagery/resources/site.rb

index a5f86e1b33a8379b4a909075be51333de0ab3aad..c25f7216854b148570f063eb224d416431d1fc7a 100644 (file)
@@ -105,9 +105,9 @@ action :create do
     description "Map server for #{new_resource.site} layer"
     environment "MS_DEBUGLEVEL" => "0",
                 "MS_ERRORFILE" => "stderr",
-                "GDAL_CACHEMAX" => "512"
+                "GDAL_CACHEMAX" => "128"
     limit_nofile 16384
-    memory_high "2G"
+    memory_high "4G"
     memory_max "8G"
     user "imagery"
     group "imagery"