Changes between Version 69 and Version 70 of PuffinServer


Ignore:
Timestamp:
10/14/13 13:11:09 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v69 v70  
    3434}}} 
    3535 
    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: 
     36These 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: 
    3737 
    3838{{{ 
     
    6565 
    66661. 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 then if {{{/var/run/boa_run.pid}}} exists, wait a second, if not kill some maintenance jobs: {{{killall -9 php drush.php wget}}} 
     672. 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}}} 
    6868 
    69691. 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}}} 
    70702. 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}}} 
    71713. Else restart all the services via {{{/var/xdrago/proc_num_ctrl.cgi}}} 
    72  
    73  
    74  
    7572 
    7673== Tickets ==