From 82a93228e941e4140c852b125e611e17d8cd69c8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 9 Dec 2023 10:54:43 +0000 Subject: [PATCH] Apply memory limits to renderd --- cookbooks/tile/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5