Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
3435b2c0
Commit
3435b2c0
authored
Jan 18, 2017
by
Bartłomiej Piotrowski
Committed by
Jelle van der Waa
Oct 17, 2019
Browse files
fluxbb: Tweak php-fpm settings basing on luna
parent
0a28c8b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/fluxbb/templates/php-fpm.conf.j2
View file @
3435b2c0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment