From ec9ff55cbf3c8e94b48b005ab843ffc4864ea4d0 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 31 Jan 2014 03:09:06 +0100 Subject: [PATCH] =?UTF-8?q?[monit/apache]=20On=20autorise=20apache=20?= =?UTF-8?q?=C3=A0=20utiliser=20plus=20de=20500Mo=20de=20ram=20sur=20zamok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comme zamok à 16Go de ram et que son apache sert toutes les pages perso, ça a l'air pertinent --- Python/etc/monit/services | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 867af8d..892d82a 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -46,7 +46,7 @@ service("apache", has("intranet-server") and "if failed host intranet.crans.org port 443 type tcpssl protocol http timeout 30 seconds then restart", "if cpu is greater than 60% for 2 cycles then alert", "if cpu > 80% for 5 cycles then restart", - "if totalmem > 500.0 MB for 5 cycles then restart", + has("users") and "if totalmem > 4 GB for 5 cycles then restart" or "if totalmem > 500.0 MB for 5 cycles then restart", "if children > 250 then restart", "if loadavg(5min) greater than 10 for 8 cycles then restart", ],