PHP opcache buffer nearly full

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
  • Operating system and version (e.g., Ubuntu 24.04):
    • replace me
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Directly after the install
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • NGINX

Summary of the issue you are facing:

I am receiving an error message in my admin page in my NextCloud Instance that says the following:

PHP opcache

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 “256”..

This is a brand new install. I haven’t even used it yet. I only created one document as a test. I don’t understand why I am getting this error. I installed it on my brand new Ugreen Nas 6800 Pro. 64G of memory, 10 core.

I installed it using Portainer. This is the Docker Compose File that I used:

services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:

  • nextcloud_aio_mastercontainer:/mnt/docker-aio-config
  • /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
  • 8089:8080
    environment:
  • APACHE_PORT=11000
  • APACHE_IP_BINDING=0.0.0.0
  • NEXTCLOUD_UPLOAD_LIMIT=10G
  • NEXTCLOUD_MEMORY_LIMIT=4096M
  • COLLABORA_SECCOMP_DISABLED=true
  • NEXTCLOUD_ENABLE_DRI_DEVICE=true
  • NEXTCLOUD_MOUNT=/volume2/
  • NEXTCLOUD_DATADIR=/volume2/docker/nextcloudaio/data
  • SKIP_DOMAIN_VALIDATION=true

volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer

The only change that I made to the file is I changed Volume 1 to Volume 2. My Volume 2 is my M.2 SSD. I figured it would be snappier on that.

Steps to replicate it (hint: details matter!):

  1. N/A

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Warning
core
Request used more than 300 MB of RAM: 381.2 MB

Nov 13, 2025, 11:23:57 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 11:00:30 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 11:00:30 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 10:58:20 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 10:58:20 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 10:57:59 PM

Warning
no app in context
Login failed: mark bocanegra (Remote IP: 192.168.1.51)

Nov 13, 2025, 10:57:59 PM

Error
core
NotFoundException
/appdata_ociy2471hvpa/theming/global

Nov 13, 2025, 10:51:10 PM

Error
core
NotFoundException
/appdata_ociy2471hvpa/theming/global

Nov 13, 2025, 10:51:10 PM

Warning
no app in context
Skipping updater backup clean-up - could not find updater backup folder /nc-updater/updater-ociy2471hvpa/backups

Nov 13, 2025, 10:49:09 PM

Warning
no app in context
Skipping updater backup clean-up - could not find updater backup folder /nc-updater/updater-ociy2471hvpa/backups

Nov 13, 2025, 10:49:09 PM

Warning
cron
QueryNotFoundException
Could not resolve OCA\AppAPI\BackgroundJob\ExAppInitStatusCheckJob! Class "OCA\AppAPI\BackgroundJob\ExAppInitStatusCheckJob" does not exist

Nov 13, 2025, 10:46:14 PM

Error
core
NotFoundException
/appdata_ociy2471hvpa/theming/global

Nov 13, 2025, 10:46:14 PM

Warning
cron
QueryNotFoundException
Could not resolve OCA\AppAPI\BackgroundJob\ExAppInitStatusCheckJob! Class "OCA\AppAPI\BackgroundJob\ExAppInitStatusCheckJob" does not exist

Nov 13, 2025, 10:46:14 PM

Error
core
NotFoundException
/appdata_ociy2471hvpa/theming/global

Nov 13, 2025, 10:46:14 PM

Warning
cron
QueryNotFoundException
Could not resolve OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob! Class "OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob" does not exist

Nov 13, 2025, 10:46:10 PM

Warning
cron
QueryNotFoundException
Could not resolve OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob! Class "OCA\AppAPI\BackgroundJob\ProvidersAICleanUpJob" does not exist

Nov 13, 2025, 10:46:10 PM

Debug
admin_audit
RuntimeException
The loading of lazy AppConfig values have been triggered by app "admin_audit"

Nov 13, 2025, 10:45:50 PM

Debug
admin_audit
RuntimeException
The loading of lazy AppConfig values have been triggered by app "admin_audit"

Nov 13, 2025, 10:45:50 PM

No older log entries available

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hello, this is my configuration of the OPCACHE module in the php.ini file. And it works without any problems for me.

Please back up your php.ini file and change these values.

opcache.enable=1

opcache.enable_cli=1

opcache.interned_strings_buffer=20

opcache.memory_consumption=128

opcache.max_accelerated_files=10000

opcache.revalidate_freq=1

opcache.save_comments=1

I can’t find the file. It’s a brand new instance that hasn’t been used yest and so I am not worried about backing up anything.

  1. I went to docker and stopped all of the containers
  2. Went into to my shared folders in Docker, opened up the file that says Nextcloud AIO, and opened up every folder that was inside. I found no folder that was titled, php.ini. I had a folder that was labeld, Cache. I opened that folder and there was nothing in it. Blank.

Where can I find that php.ini folder?