more ganeti nodes
[mirror/dsa-puppet.git] / modules / apache2 / templates / ressource-limits.erb
index 040313f..9137148 100644 (file)
@@ -4,5 +4,15 @@
 ##
 
 RLimitCPU 180
-RLimitMEM 67108864
+<%=
+case fqdn
+       when "berlioz.debian.org" then
+               ""
+       when "grieg.debian.org", "tchaikovsky.debian.org" then
+               # buildd.debian.org
+               "RLimitMEM "+(96 * 1024**2).to_s
+       else
+               "RLimitMEM "+(32 * 1024**2).to_s
+end
+%>
 RLimitNPROC 128