Some tuning of PHP and apache
This commit is contained in:
@@ -12,16 +12,12 @@ listen = /run/php-fpm/www.sock
|
||||
listen.owner = apache
|
||||
listen.group = apache
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.start_servers = 5
|
||||
pm.min_spare_servers = 5
|
||||
pm.max_spare_servers = 35
|
||||
pm.process_idle_timeout = 15s;
|
||||
pm.max_requests = 500
|
||||
pm = static
|
||||
pm.max_children = 25
|
||||
pm.max_requests = 1000
|
||||
|
||||
slowlog = /var/log/php-fpm/www-slow.log
|
||||
request_slowlog_timeout = 6s
|
||||
slowlog = /etc/httpd/logs/error_log
|
||||
request_slowlog_timeout = 3s
|
||||
|
||||
php_admin_value[error_log] = /etc/httpd/logs/error_log
|
||||
php_admin_flag[log_errors] = on
|
||||
|
Reference in New Issue
Block a user