]> git.openstreetmap.org Git - chef.git/commitdiff
Apply memory limits to renderd
authorTom Hughes <tom@compton.nu>
Sat, 9 Dec 2023 10:54:43 +0000 (10:54 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 9 Dec 2023 10:54:43 +0000 (10:54 +0000)
cookbooks/tile/recipes/default.rb

index d302c79ce90219f1e3e8eab29567eecbcae87678..40486dac6ea5ab7a1bdd68f07b06485e26716074 100644 (file)
@@ -107,6 +107,8 @@ systemd_service "renderd" do
   after "postgresql.service"
   wants "postgresql.service"
   limit_nofile 4096
+  memory_high "80%"
+  memory_max "90%"
   sandbox true
   restrict_address_families "AF_UNIX"
   read_write_paths tile_directories