]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/templates/ressource-limits.erb
the new php crap in nagios needs more ram
[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 "" # maybe unlimited will be better
10         when "grieg.debian.org", "tchaikovsky.debian.org" then
11                 # buildd.debian.org
12                 "RLimitMEM "+(96 * 1024**2).to_s
13         else
14                 "RLimitMEM "+(32 * 1024**2).to_s
15 end
16 %>
17 RLimitNPROC 128