From 5afbde09ed91eb6204b80475bac20e77697aabb9 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 5 Sep 2009 17:33:19 +0200 Subject: [PATCH] Make rlimitmem host dependent --- modules/apache2/templates/ressource-limits.erb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.20.1