]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Apply memory limits to renderd
[chef.git] / 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