Changes between Version 69 and Version 70 of PuffinServer
- Timestamp:
- 10/14/13 13:11:09 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PuffinServer
v69 v70 34 34 }}} 35 35 36 These variables are used by the {{{/var/xdrago/second.sh}}} script, which is run every minute via cron , which has the following variables in it:36 These variables are used by the {{{/var/xdrago/second.sh}}} script, which is run every minute via cron and has a internal loop which causes it to run 5 times, waiting 10 seconds between each run, which has the following variables in it: 37 37 38 38 {{{ … … 65 65 66 66 1. If the load average over the last minute is greater than 18.88 and if {{{/var/run/boa_run.pid}}} exists, wait a second, if not kill some maintenance jobs: {{{killall -9 php drush.php wget}}} 67 2. Else if the load average over the last 5 mins is greater than 15.55 thenif {{{/var/run/boa_run.pid}}} exists, wait a second, if not kill some maintenance jobs: {{{killall -9 php drush.php wget}}}67 2. Else if the load average over the last 5 mins is greater than 15.55 and if {{{/var/run/boa_run.pid}}} exists, wait a second, if not kill some maintenance jobs: {{{killall -9 php drush.php wget}}} 68 68 69 69 1. If the load average over the last minute is greater than 72.20 then kill the web server, {{{killall -9 nginx}}} and {{{killall -9 php-fpm php-cgi}}} 70 70 2. Else if the load average over the last 5 mins is greater than 44.40 then kill the web server, {{{killall -9 nginx}}} and {{{killall -9 php-fpm php-cgi}}} 71 71 3. Else restart all the services via {{{/var/xdrago/proc_num_ctrl.cgi}}} 72 73 74 75 72 76 73 == Tickets ==