Changes between Version 45 and Version 46 of PuffinServer


Ignore:
Timestamp:
06/20/13 11:28:41 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v45 v46  
    2626 
    2727The BOA install script output has been saved on ticket:466#comment:22 
     28 
     29=== php-fpm === 
     30 
     31Please 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 
     37The 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{{{ 
     40ps -lA | grep php 
     411 S     0 29482     1  0  80   0 - 188067 -     ?        00:00:00 php-fpm 
     425 S    33 29483 29482  2  80   0 - 205351 -     ?        00:01:32 php-fpm 
     435 S    33 29484 29482  2  80   0 - 199726 -     ?        00:01:28 php-fpm 
     44... 
     45}}} 
     46 
     47When 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 
     53Which 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}}} 
    2858 
    2959=== Upgrading BOA === 
     
    82112}}} 
    83113 
     114Also the following lines are changed from the defaul BOA settings: 
     115 
     116{{{ 
     117emergency_restart_threshold = 0 
     118 
     119emergency_restart_interval = 0 
     120 
     121pm.max_children = 90 
     122 
     123pm.start_servers = 20 
     124 
     125pm.min_spare_servers = 10 
     126 
     127pm.max_spare_servers = 20 
     128 
     129pm.max_requests = 0 
     130}}} 
     131 
    84132After the edits above have been made nginx and php-fpm need restarting: 
    85133 
     
    97145munin-run nginx_status  
    98146munin-run nginx_request 
     147}}} 
     148 
     149These settings in {{{/etc/mysql/my.cnf}}} are changed from the default and need checking after each upgrade: 
     150 
     151{{{ 
     152max_connections         = 75 
     153max_user_connections    = 75 
    99154}}} 
    100155