add zandonai.debian.org
[mirror/dsa-puppet.git] / modules / apache2 / templates / ressource-limits.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 RLimitCPU 180
7 <%=
8 case fqdn
9         when "cimarosa.debian.org" then
10                 # buildd.debian.org
11                 "RLimitMEM "+(96 * 1024**2).to_s
12         else
13                 "RLimitMEM "+(32 * 1024**2).to_s
14 end
15 %>
16 RLimitNPROC 128