Commit 3435b2c0 authored by Bartłomiej Piotrowski's avatar Bartłomiej Piotrowski Committed by Jelle van der Waa
Browse files

fluxbb: Tweak php-fpm settings basing on luna

parent 0a28c8b1
......@@ -2,19 +2,24 @@
error_log = syslog
daemonize = no
[phpinfo]
[fluxbb]
listen = /run/php-fpm/fluxbb.socket
listen.owner = php-fluxbb
listen.group = http
listen.mode = 0660
pm = dynamic
pm.max_children = 2
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 2
pm.max_children = 250
pm.start_servers = 30
pm.min_spare_servers = 10
pm.max_spare_servers = 40
pm.max_requests = 2000
php_admin_value[open_basedir] = {{ fluxbb_dir }}
php_admin_value[upload_tmp_dir] = {{ fluxbb_dir }}/uploads
php_admin_value[session.save_path] = {{ fluxbb_dir }}/sessions
env[TMPDIR] = {{ fluxbb_dir }}/uploads
php_admin_value[opcache.memory_consumption] = 128
php_admin_value[opcache.interned_strings_buffer] = 8
php_admin_value[opcache.max_accelerated_files] = 200
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment