Hello. I have some problems whit my nextcloud 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ââŚ
Iâm using UNRAID and have the nextcloud as a docker container
This is some of the configs that I have
From where are those values? those are with certainty not the values responsible for the opcache in your Nextcloud php.
I have no idea how your Docker container is constructed, where and which php is installed there and where it must/can be configured, but this is all you can/should know about opcache:
Thank you for the link!
Iâve just added some line to my config.php
" âopcache.enable_cliâ => 1,
âapc.enable_cliâ => 1,
âopcache.save_commentsâ => 1,
âopcache.revalidate_freqâ => 60,
âopcache.validate_timestampsâ => 0,
âopcache.interned_strings_bufferâ => 8,
âopcache.max_accelerated_filesâ => 10000,
âopcache.memory_consumptionâ => 128,
âopcache.jitâ => 1255,
âopcache.jit_buffer_sizeâ => 128,
âmaintenance_window_startâ => 1, "
This are ok now. No more memory problems
Keep in mind that with validation off youâll likely encounter problems when doing anything from the command line and will also need to restart your container when making config.php changes. I donât recommend turning off validation unless you know why youâre doing it.