diff options
author | David Walter Seikel | 2012-02-07 00:01:55 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-07 00:01:55 +1000 |
commit | eb719e5855340effaf57e53939c78658063f0a45 (patch) | |
tree | 40380bb88e7ae28b03a1715bf8c3958cb555eaeb /opensim-monit.conf | |
parent | Stage two - do the git mv. (diff) | |
download | IGnoble-eb719e5855340effaf57e53939c78658063f0a45.zip IGnoble-eb719e5855340effaf57e53939c78658063f0a45.tar.gz IGnoble-eb719e5855340effaf57e53939c78658063f0a45.tar.bz2 IGnoble-eb719e5855340effaf57e53939c78658063f0a45.tar.xz |
Stopping after 5 tries to restart the sim is not so good.
Diffstat (limited to '')
-rw-r--r-- | opensim-monit.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opensim-monit.conf b/opensim-monit.conf index 60ab632..9688a25 100644 --- a/opensim-monit.conf +++ b/opensim-monit.conf | |||
@@ -24,7 +24,7 @@ check process sim01 with pidfile /var/run/opensim/sim01.pid | |||
24 | as uid opensim and gid opensim | 24 | as uid opensim and gid opensim |
25 | stop program = "/bin/bash -c 'cd /opt/opensim/config/sim01 && /opt/opensim/config/sim01/stop-sim'" with timeout 600 seconds | 25 | stop program = "/bin/bash -c 'cd /opt/opensim/config/sim01 && /opt/opensim/config/sim01/stop-sim'" with timeout 600 seconds |
26 | if cpu usage > 50% for 4 cycles then restart | 26 | if cpu usage > 50% for 4 cycles then restart |
27 | if 5 restarts within 5 cycles then timeout | 27 | # if 5 restarts within 5 cycles then timeout |
28 | # if failed url http://127.0.0.1:9005/jsonSimStats/ | 28 | # if failed url http://127.0.0.1:9005/jsonSimStats/ |
29 | # and content != '"SimFPS":0.0,' for 4 cycles | 29 | # and content != '"SimFPS":0.0,' for 4 cycles |
30 | # then restart | 30 | # then restart |