[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:
parent
feb5ad26a9
commit
ec9ff55cbf
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue