X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fphp5%2Ffpm%2Fpool.d%2Flhc_www%2Fphp-fpm.conf;h=04813ff93546e35b22a9fb8b143fbdfa0e61edb3;hb=2849d7aa51bbde49d9069ac0dbd37101df703f7b;hp=950657770c29645581417b6f193397de61bec4b7;hpb=c97e10b2504a559b023d5b14c46f337f0ee95027;p=lhc%2Fateliers.git diff --git a/etc/php5/fpm/pool.d/lhc_www/php-fpm.conf b/etc/php5/fpm/pool.d/lhc_www/php-fpm.conf index 9506577..04813ff 100644 --- a/etc/php5/fpm/pool.d/lhc_www/php-fpm.conf +++ b/etc/php5/fpm/pool.d/lhc_www/php-fpm.conf @@ -1,9 +1,11 @@ -pm.max_children = 15 -pm.max_requests = 200 -pm.max_spare_servers = 5 -pm.min_spare_servers = 1 +#php_admin_value[extension] = pdo_mysql.so +php_admin_value[extension] = mysql.so +pm.max_children = 4 +pm.max_requests = 1 +pm.max_spare_servers = 4 +pm.min_spare_servers = 2 pm.process_idle_timeout = 60s -pm.start_servers = 1 +pm.start_servers = 2 request_slowlog_timeout = 5s request_terminate_timeout = 120s rlimit_core = unlimited