configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 91  →  ?path2? @ 98
/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
/monit/debian/templates/solr
@@ -3,7 +3,7 @@
###########################################################################
 
# Debian tomcat-solr
check process tomcat8 with pidfile /var/run/tomcat8.pid
check process tomcat8 matching tomcat8
start program "/etc/init.d/tomcat8 restart"
stop program "/etc/init.d/tomcat8 stop"
if failed host 127.0.0.1 port 8983 type tcp then restart