[global]

error_log = syslog
daemonize = no

[www]
user = azuracast
group = azuracast

listen = /var/run/php-fpm-www.sock
listen.owner = azuracast
listen.group = www-data
listen.mode = 0660

pm = ondemand
pm.max_children = 20
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 200
pm.status_path = /status
pm.process_idle_timeout = 60s

chdir = /

clear_env=No
catch_workers_output = yes
decorate_workers_output = no

[internal]
user = azuracast
group = azuracast

listen = /var/run/php-fpm-internal.sock
listen.owner = azuracast
listen.group = www-data
listen.mode = 0660

pm = ondemand
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 50
pm.process_idle_timeout = 60s

chdir = /

clear_env=No
catch_workers_output = yes
decorate_workers_output = no
