From: Tom Hughes Date: Sat, 9 Dec 2023 10:54:43 +0000 (+0000) Subject: Apply memory limits to renderd X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/82a93228e941e4140c852b125e611e17d8cd69c8?hp=7d1f05574967e80f71e81a71cf883fa438aafc1f Apply memory limits to renderd --- diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index d302c79ce..40486dac6 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -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