perf(): use ondemand pm
parent
4b7b21830a
commit
990087f809
|
@ -4,11 +4,10 @@ error_log = /tmp/php_error.log
|
||||||
|
|
||||||
[www]
|
[www]
|
||||||
listen = /tmp/php-fpm.sock
|
listen = /tmp/php-fpm.sock
|
||||||
pm = dynamic
|
pm = ondemand
|
||||||
pm.max_children = 20
|
pm.max_children = 30
|
||||||
pm.start_servers = 8
|
pm.process_idle_timeout = 10s
|
||||||
pm.min_spare_servers = 8
|
pm.max_requests = 500
|
||||||
pm.max_spare_servers = 12
|
|
||||||
chdir = /
|
chdir = /
|
||||||
php_admin_value[expose_php] = Off
|
php_admin_value[expose_php] = Off
|
||||||
php_admin_value[post_max_size] = <UPLOAD_MAX_SIZE>
|
php_admin_value[post_max_size] = <UPLOAD_MAX_SIZE>
|
||||||
|
|
Loading…
Reference in New Issue