]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/templates/ressource-limits.erb
up the RLimitMem for hyperestraier
[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 "merkel.debian.org" then
10                 # search stuff
11                 "RLimitMEM "+(128 * 1024**2).to_s
12         when "cimarosa.debian.org" then
13                 # buildd.debian.org
14                 "RLimitMEM "+(96 * 1024**2).to_s
15         else
16                 "RLimitMEM "+(32 * 1024**2).to_s
17 end
18 %>
19 RLimitNPROC 128