From b3b3725c9f054ad5e1dd3bbfa4e73147ce60383a Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 25 Jan 2024 19:06:24 +0100 Subject: [PATCH] feat: php opcache tuning for nextcloud https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#:~:text=opcache.jit%20%3D%201255%20opcache.jit_buffer_size%20%3D%20128m --- hosts/nachtigall/apps/nextcloud.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index d851704..71b3df3 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -110,6 +110,9 @@ phpOptions = { "opcache.interned_strings_buffer" = "23"; + # https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#:~:text=opcache.jit%20%3D%201255%20opcache.jit_buffer_size%20%3D%20128m + "opcache.jit" = "1255"; + "opcache.jit_buffer_size" = "128M"; }; # Calculated with 4GiB RAM, 80MiB process size available on