perf(): use ondemand pm

pull/26/head
Hardware 2018-03-10 10:30:53 +01:00
parent 4b7b21830a
commit 990087f809
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
1 changed files with 4 additions and 5 deletions

View File

@ -4,11 +4,10 @@ error_log = /tmp/php_error.log
[www]
listen = /tmp/php-fpm.sock
pm = dynamic
pm.max_children = 20
pm.start_servers = 8
pm.min_spare_servers = 8
pm.max_spare_servers = 12
pm = ondemand
pm.max_children = 30
pm.process_idle_timeout = 10s
pm.max_requests = 500
chdir = /
php_admin_value[expose_php] = Off
php_admin_value[post_max_size] = <UPLOAD_MAX_SIZE>