configuration-templates
/monit/debian/templates/apache |
---|
@@ -12,5 +12,5 @@ |
if cpu > 80% for 5 cycles then restart |
if totalmem > 50% for 5 cycles then restart |
if children > 250 then restart |
if loadavg(5min) greater than 10 for 8 cycles then stop |
# if 3 restarts within 5 cycles then timeout |
if loadavg(5min) greater than 10 for 8 cycles then restart |
# if 3 restarts within 5 cycles then timeout |