| | 71 | |
| | 72 | == xdrago shell script changes == |
| | 73 | |
| | 74 | To disable the clobbering of log files two shell scripts need editing and some lines commenting out (see ticket:555#comment:22): |
| | 75 | |
| | 76 | {{{ |
| | 77 | vim /var/xdrago/clear.sh |
| | 78 | :1,$s/^echo rotate/# echo rotate/g |
| | 79 | }}} |
| | 80 | |
| | 81 | To 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 | {{{ |
| | 84 | CTL_ONEX_SPIDER_LOAD=2716 |
| | 85 | CTL_FIVX_SPIDER_LOAD=2716 |
| | 86 | CTL_ONEX_LOAD=10108 |
| | 87 | CTL_FIVX_LOAD=6216 |
| | 88 | CTL_ONEX_LOAD_CRIT=13216 |
| | 89 | CTL_FIVX_LOAD_CRIT=10885 |
| | 90 | }}} |
| | 91 | |
| | 92 | There is a copy of {{{second.sh}}} in {{{/root}}} so after an upgrade do: |
| | 93 | |
| | 94 | {{{ |
| | 95 | cp /root/second.sh /var/xdrago/ |
| | 96 | }}} |