summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2013-04-16 14:38:26 (GMT)
committer Barracuda Team2013-04-16 14:38:26 (GMT)
commite5b679aa143529b2b52989bf86136248284607b6 (patch)
tree9942e5c1278cc18ed65a796a050582e73ebba7b8
parent64ee445bc9125306ff9ff1f7fcc3a0b4ae5bf041 (diff)
The java/jetty monitor should use higher allowed limits by default, to avoid too aggressive self-healing procedures.
-rwxr-xr-xaegir/tools/system/proc_num_ctrl.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/aegir/tools/system/proc_num_ctrl.cgi b/aegir/tools/system/proc_num_ctrl.cgi
index 0018efd..fef230f 100755
--- a/aegir/tools/system/proc_num_ctrl.cgi
+++ b/aegir/tools/system/proc_num_ctrl.cgi
@@ -141,7 +141,7 @@ sub global_action
`echo "$timedate $K $TIME $STAT $X $Y" >> /var/xdrago/log/php-cli.kill.log`;
}
- if ($PID ne "PID" && $USER =~ /(tomcat|jetty)/ && $COMMAND =~ /java/ && ($STAT =~ /R/ || $TIME !~ /^[0-3]{1}:/))
+ if ($PID ne "PID" && $USER =~ /(tomcat|jetty)/ && $COMMAND =~ /java/ && ($STAT =~ /R/ || $TIME !~ /^[0-5]{1}:/))
{
`kill -9 $PID`;
$timedate=`date +%y%m%d-%H%M`;