X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1bc70a7242d05ea6842be89ee6350fd158ef82c7..60d30854263245f1c8b42dccd6bfc453811dfde8:/cookbooks/tile/recipes/default.rb diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 961d71ea2..ce3ffcb9c 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -100,12 +100,16 @@ tile_directories = node[:tile][:styles].collect do |_, style| style[:tile_directories].collect { |directory| directory[:name] } end.flatten.sort.uniq -package "renderd" +package %w[ + renderd + libgoogle-perftools4 +] systemd_service "renderd" do dropin "chef" after "postgresql.service" wants "postgresql.service" + environment "LD_PRELOAD" => "libtcmalloc.so.4" limit_nofile 4096 memory_high "80%" memory_max "90%"