-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning: The OPcache buffer is nearly full #2184
Comments
Jumping on this bandwagon. On a relatively busy instance I need to use these values to get rid of the warning. Not a PHP expert at all, but I was increasing them until the error went away, using whatever PHP was complaining about until i get it green. NC version 29, 10 active users, NC used mostly via browser for office work/emails/deck/ and additionally around 100GB traffic between users / day. opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=12000
opcache.memory_consumption=512
opcache.save_comments=1
opcache.revalidate_freq=60
opcache.jit = 1255
opcache.jit_buffer_size = 256M |
I use Docker indeed |
For opcache I use the following mounted local ini in all containers : volumes:
- nextcloud:/var/www/html
- ./opcache-recommed.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini
The actual conf used by the container is this one |
Try to use |
I am having a warning that indicates that opcache memory is almost full.
I checked and this issue was already raised in some closed issues:
#1926
And I also checked the values used in All-in-one solution to solve similar issues.
This PR was successfully merged and I this it should be applied to the docker version too:
nextcloud/all-in-one#2762
Impacted files:
docker/Dockerfile-alpine.template
Line 88 in 6151f60
docker/Dockerfile-debian.template
Line 100 in 6151f60
I would also apply the related config changes from all-in one:
The text was updated successfully, but these errors were encountered: