perf(): use ondemand pm
parent
4b7b21830a
commit
990087f809
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue