From c7200de8fbf548f063393388a337ece443234962 Mon Sep 17 00:00:00 2001 From: SIMULATAN Date: Tue, 1 Oct 2024 08:10:24 +0200 Subject: [PATCH] [Nextcloud] optimize opcache settings (#6) --- nextcloud/nextcloud.values.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nextcloud/nextcloud.values.yml b/nextcloud/nextcloud.values.yml index f58e31c..4aa58aa 100644 --- a/nextcloud/nextcloud.values.yml +++ b/nextcloud/nextcloud.values.yml @@ -20,6 +20,13 @@ nextcloud: phpConfigs: zz-memory_limit.init: |- memory_limit=1024M + opcache.conf: | + php_admin_value[memory_limit] = -1 + php_admin_value[opcache.jit_buffer_size] = 8M + php_admin_value[opcache.interned_strings_buffer] = 64 + php_admin_value[opcache.memory_consumption] = 512 + php_admin_value[opcache.max_accelerated_files] = 30000 + php_admin_value[opcache.revalidate_freq] = 60 existingSecret: enabled: true secretName: nextcloud-secret