]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/templates/ressource-limits.erb
no more widor
[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 "berlioz.debian.org" then
10                 ""
11         when "grieg.debian.org", "tchaikovsky.debian.org" then
12                 # buildd.debian.org
13                 "RLimitMEM "+(96 * 1024**2).to_s
14         else
15                 "RLimitMEM "+(32 * 1024**2).to_s
16 end
17 %>
18 RLimitNPROC 128