From: Peter Palfrader Date: Sat, 5 Sep 2009 15:33:19 +0000 (+0200) Subject: Make rlimitmem host dependent X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5afbde09ed91eb6204b80475bac20e77697aabb9;p=mirror%2Fdsa-puppet.git Make rlimitmem host dependent --- diff --git a/modules/apache2/templates/ressource-limits.erb b/modules/apache2/templates/ressource-limits.erb index 040313fc2..9c4ea589a 100644 --- a/modules/apache2/templates/ressource-limits.erb +++ b/modules/apache2/templates/ressource-limits.erb @@ -4,5 +4,13 @@ ## RLimitCPU 180 -RLimitMEM 67108864 +<%= +case fqdn + when "cimarosa.debian.org" then + # buildd.debian.org + "RLimitMEM 96m" + else + "RLimitMEM 32m" +end +%> RLimitNPROC 128