[monit/apache] On autorise apache à utiliser plus de 500Mo de ram sur zamok

Comme zamok à 16Go de ram et que son apache sert toutes les pages perso, ça a
l'air pertinent
This commit is contained in:
Valentin Samir 2014-01-31 03:09:06 +01:00
parent feb5ad26a9
commit ec9ff55cbf

View file

@ -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",
],