Changes between Version 3 and Version 4 of PuffinServerBoaLoadSpikes


Ignore:
Timestamp:
06/02/14 12:48:55 (2 years ago)
Author:
chris
Comment:

xdrago shell script changes section archived

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServerBoaLoadSpikes

    v3 v4  
    6969 
    7070A total of 77.5 hours was spent on the tickets listed above, the final one was closed on 15th December 2013 and the total time was added up, see ticket:555#comment:132. 
     71 
     72== xdrago shell script changes == 
     73 
     74To disable the clobbering of log files two shell scripts need editing and some lines commenting out (see ticket:555#comment:22): 
     75 
     76{{{ 
     77vim /var/xdrago/clear.sh 
     78:1,$s/^echo rotate/# echo rotate/g 
     79}}} 
     80 
     81To adjust the restarting of nginx and the killing of nginx and php-fpm under heave loads edit {{{/var/xdrago/second.sh}}} changing these values (see ticket:563#comment:9 and ticket:555#comment:52 and ticket:555#comment:124): 
     82 
     83{{{ 
     84CTL_ONEX_SPIDER_LOAD=2716 
     85CTL_FIVX_SPIDER_LOAD=2716 
     86CTL_ONEX_LOAD=10108 
     87CTL_FIVX_LOAD=6216 
     88CTL_ONEX_LOAD_CRIT=13216 
     89CTL_FIVX_LOAD_CRIT=10885 
     90}}} 
     91 
     92There is a copy of {{{second.sh}}} in {{{/root}}} so after an upgrade do: 
     93 
     94{{{ 
     95cp /root/second.sh /var/xdrago/ 
     96}}}