Changes between Version 45 and Version 46 of PuffinServer
- Timestamp:
- 06/20/13 11:28:41 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PuffinServer
v45 v46 26 26 27 27 The BOA install script output has been saved on ticket:466#comment:22 28 29 === php-fpm === 30 31 Please note that the version of php-fpm that the http://transitionnetwork.org/ site needs to be running to work properly is: 32 33 {{{ 34 /etc/init.d/php53-fpm 35 }}} 36 37 The config file for it is {{{/opt/local/etc/php53-fpm.conf}}} and when it is running it is listed in top and ps as php-fpm: 38 39 {{{ 40 ps -lA | grep php 41 1 S 0 29482 1 0 80 0 - 188067 - ? 00:00:00 php-fpm 42 5 S 33 29483 29482 2 80 0 - 205351 - ? 00:01:32 php-fpm 43 5 S 33 29484 29482 2 80 0 - 199726 - ? 00:01:28 php-fpm 44 ... 45 }}} 46 47 When the server boots another version of php-fpm starts, which is listed in top and ps as php5-fpm, this one: 48 49 {{{ 50 /etc/init.d/php5-fpm 51 }}} 52 53 Which is configured via files in {{{/etc/php5/fpm/}}}. This version should be stopped if it is found to be running: 54 55 {{{ 56 /etc/init.d/php5-fpm stop 57 }}} 28 58 29 59 === Upgrading BOA === … … 82 112 }}} 83 113 114 Also the following lines are changed from the defaul BOA settings: 115 116 {{{ 117 emergency_restart_threshold = 0 118 119 emergency_restart_interval = 0 120 121 pm.max_children = 90 122 123 pm.start_servers = 20 124 125 pm.min_spare_servers = 10 126 127 pm.max_spare_servers = 20 128 129 pm.max_requests = 0 130 }}} 131 84 132 After the edits above have been made nginx and php-fpm need restarting: 85 133 … … 97 145 munin-run nginx_status 98 146 munin-run nginx_request 147 }}} 148 149 These settings in {{{/etc/mysql/my.cnf}}} are changed from the default and need checking after each upgrade: 150 151 {{{ 152 max_connections = 75 153 max_user_connections = 75 99 154 }}} 100 155