This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/resources/nextcloud-php-fpm.ini

16 lines
544 B
INI
Raw Normal View History

; https://docs.nextcloud.com/server/21/admin_manual/installation/server_tuning.html#tune-php-fpm
pm = dynamic
pm.max_children = 120
pm.start_servers = 12
pm.min_spare_servers = 6
pm.max_spare_servers = 18
; https://github.com/phpredis/phpredis#php-session-handler
session.save_handler = redis
session.save_path = "tcp://cache:6379?weight=1"
; https://docs.nextcloud.com/server/21/admin_manual/configuration_server/caching_configuration.html#id2
redis.session.locking_enabled=1
redis.session.lock_retries=-1
redis.session.lock_wait_time=10000