2018-04-26 19:51:55 +08:00
|
|
|
[system-worker]
|
|
|
|
user = www-data
|
|
|
|
group = www-data
|
|
|
|
pm = dynamic
|
|
|
|
pm.max_children = 15
|
|
|
|
pm.start_servers = 2
|
|
|
|
pm.min_spare_servers = 2
|
|
|
|
pm.max_spare_servers = 4
|
|
|
|
listen = [::]:9001
|
|
|
|
access.log = /proc/self/fd/2
|
|
|
|
clear_env = no
|
|
|
|
catch_workers_output = yes
|
2018-06-10 20:31:24 +08:00
|
|
|
php_admin_value[memory_limit] = 256M
|
|
|
|
php_admin_value[max_execution_time] = 1200
|
|
|
|
php_admin_value[max_input_time] = 1200
|
2018-04-26 19:51:55 +08:00
|
|
|
|
|
|
|
[web-worker]
|
|
|
|
user = www-data
|
|
|
|
group = www-data
|
|
|
|
pm = dynamic
|
|
|
|
pm.max_children = 50
|
|
|
|
pm.start_servers = 2
|
|
|
|
pm.min_spare_servers = 2
|
|
|
|
pm.max_spare_servers = 4
|
|
|
|
listen = [::]:9002
|
|
|
|
access.log = /proc/self/fd/2
|
|
|
|
clear_env = no
|
|
|
|
catch_workers_output = yes
|
2018-09-12 01:35:21 +08:00
|
|
|
php_admin_value[memory_limit] = 512M
|
2018-06-10 20:31:24 +08:00
|
|
|
php_admin_value[max_execution_time] = 1200
|
|
|
|
php_admin_value[max_input_time] = 1200
|
|
|
|
|