Skip to content

Conversation

@am97
Copy link
Contributor

@am97 am97 commented Jan 9, 2025

The opcache memory got full on my instance:

The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply "opcache.memory_consumption" to your PHP configuration with a value higher than "128"

It's the same problem that the one raised in #2352 , but a better solution seems to adjust opcache.jit_buffer_size.

This corresponds to the following change in the documentation: nextcloud/documentation@538390d

Single Nextcloud instances have shown to use less than 2 MiB of the configured JIT buffer size, so that 8 MiB is sufficient by a large margin. Using any larger value pre-occupies the opcache.memory_consumption accurdingly and 128 MiB would hence fill its default 128 MiB completely, without any benefit.

This corresponds to the following change in the documentation:
nextcloud/documentation@538390d

Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
@J0WI
Copy link
Contributor

J0WI commented Jan 9, 2025

Duplicate of #2185

@J0WI J0WI marked this as a duplicate of #2185 Jan 9, 2025
@J0WI J0WI closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants