allow virtual_domains to use mailcontentinspection.cdb as well as mailcontentinspection
[mirror/dsa-puppet.git] / modules / apache2 / templates / ressource-limits.erb
index 040313f..f076a72 100644 (file)
@@ -4,5 +4,14 @@
 ##
 
 RLimitCPU 180
-RLimitMEM 67108864
+<%=
+case fqdn
+       when "merkel.debian.org" then "" # maybe unlimited will be better
+       when "grieg.debian.org" then
+               # buildd.debian.org
+               "RLimitMEM "+(96 * 1024**2).to_s
+       else
+               "RLimitMEM "+(32 * 1024**2).to_s
+end
+%>
 RLimitNPROC 128