держать 2000 одновременно пользователей онлайн?
[global] pid = /var/run/php-fpm/php-fpm.pid error_log = /var/log/php-fpm/error.log [www] user = www-data group = www-data listen = /var/run/php-fpm/php-fpm.sock listen.owner = www-data listen.group = www-data listen.allowed_clients = 127.0.0.1 pm = dynamic pm.max_children = 4000 pm.start_servers = 50 pm.min_spare_servers = 20 pm.max_spare_servers = 70 pm.process_idle_timeout = 10s pm.max_requests = 500 request_terminate_timeout = 120s rlimit_files = 131072 rlimit_core = unlimited catch_workers_output = yes php_admin_value[error_log] = /var/log/php-fpm/www-error.log php_admin_flag[log_errors] = on security.limit_extensions = .php .php3 .php4 .php5 .php7
Обсуждают сегодня