30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
[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
|
|
php_admin_value[memory_limit] = 256M
|
|
php_admin_value[disable_functions] = show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen, system, shell_exec, passthru, popen, proc_open, exec
|
|
|
|
[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
|
|
php_admin_value[memory_limit] = 512M
|
|
php_admin_value[disable_functions] = show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen, system, shell_exec, passthru, popen, proc_open, exec
|