1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/webkit/monit/conf.d/webkit.cfg
2014-12-25 19:34:44 +08:00

61 lines
2.7 KiB
INI

check process webkit-8080 with pidfile /var/run/webkit-8080.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8080"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8081 with pidfile /var/run/webkit-8081.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8081"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8082 with pidfile /var/run/webkit-8082.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8082"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8083 with pidfile /var/run/webkit-8083.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8083"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8084 with pidfile /var/run/webkit-8084.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8084"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8085 with pidfile /var/run/webkit-8085.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8085"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8086 with pidfile /var/run/webkit-8086.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8086"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8087 with pidfile /var/run/webkit-8087.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8087"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8088 with pidfile /var/run/webkit-8088.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8088"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert
check process webkit-8089 with pidfile /var/run/webkit-8089.pid
restart program = "/usr/bin/supervisorctl restart webkit:webkit-8089"
if uptime > 1 hour then restart
if total memory > 100 MB for 5 cycles then restart
if total cpu > 10% for 5 cycles then alert