]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/apache2/templates/ressource-limits.erb
Break apache on ftpmaster hosts, V
[dsa-puppet.git] / modules / apache2 / templates / ressource-limits.erb
index 9c4ea589a27c67f3a9a2cf1fca0f89789bef461e..f69d5e3a32a6597031b6a0b94deee15663b5cb19 100644 (file)
@@ -6,11 +6,12 @@
 RLimitCPU 180
 <%=
 case fqdn
-       when "cimarosa.debian.org" then
+       when "merkel.debian.org" then "" # maybe unlimited will be better
+       when "grieg.debian.org", "tchaikovsky.debian.org" then
                # buildd.debian.org
-               "RLimitMEM 96m"
+               "RLimitMEM "+(96 * 1024**2).to_s
        else
-               "RLimitMEM 32m"
+               "RLimitMEM "+(32 * 1024**2).to_s
 end
 %>
 RLimitNPROC 128