Opcache buffer is nearly full

I got the opcache warning. I read a lot here about it but did not found the solution. I am running nextcloud on a docker container on OpenMediaVault.

docker exec -it nextcloud-aio-nextcloud php -i | grep opcache.memory_consumption # check php value

opcache.memory_consumption => 256 => 256

I have edit /etc/php/8.2/fpm/php.ini to active it. Did not work.

I have also tried to edit the php-local.ini into /srv/dev-disk-by-uuid-*/config/php to add the line, but did not work either.

There is also a php.ini into /etc/php/8.2/cli. Should it be this one? Since there is a ; I assume it is not that one. And it is set to ;opcache.memory_consumption=128 which is not the value I got (256).

Found that warning: The OPcache buffer is nearly full ¡ Issue #2184 ¡ nextcloud/docker ¡ GitHub but it did not solve it yet.

Anyone know how to fix that?

Doesn’t reboot your instance fixes the problem? On my site, it does…

+1 on this,
this seems to be the bug.

I am running the image: nextcloud:31.0.6-fpm in kubernetes and i have been getting that warning since 30.0.1. It says it’s nearly full no matter what i set it to, for example:

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 "10000000000000000".. For more details see the documentation ↗.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.