Comments (6)
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
from docker.
Hello @adripo @tzerber
I have the same issue. I actually struggle to locate the file php.ini within the Nextcloud container.
Any pointers?
Thanks !
from docker.
Hello @adripo @tzerber
I have the same issue. I actually struggle to locate the file php.ini within the Nextcloud container.
Any pointers?
Thanks !
Depends if you're using docker or not. Usually phpinfo() can give you hints on ini location
from docker.
Depends if you're using docker or not. Usually phpinfo() can give you hints on ini location
I use Docker indeed
the image linked to this repo https://hub.docker.com/_/nextcloud/
from docker.
Depends if you're using docker or not. Usually phpinfo() can give you hints on ini location
I use Docker indeed the image linked to this repo https://hub.docker.com/_/nextcloud/
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 /usr/local/etc/php-fpm.conf
and it loads everything from /usr/local/etc/php/conf.d/*conf
too. Both those paths are !! Inside !! the container, not on your host!
from docker.
opcache.jit_buffer_size = 256M
Try to use opcache.jit_buffer_size = 2M
. I never saw a Nextcloud instance which uses more than 1 MiB of this particular sub-buffer. And since it occupies from opcache.memory_consumption
, it is likely the only reason why you needed to raise the latter, while otherwise the default 128M would have been sufficient, in combination with opcache.interned_strings_buffer=32
max, often 8 or 16, depending on used apps.
from docker.
Related Issues (20)
- Unable to connect ANY clients to NEXTCLOUD behind NGINX Reverse Proxy HOT 6
- PHP-FPM UID + GID incompatible with Nginx UID + GID HOT 3
- Failed upgrade from 28.0.3.2 to 29.0.0.19, stuck in restart loop. HOT 2
- arm64/v8 non-existant? HOT 4
- trusted_proxies setting fails because of reverse-proxy.config.php HOT 7
- nextcloud:28.0.5-fpm-alpine image for arm64 has wrong architecture inside HOT 1
- Infinite loading Nextcloud iOS app HOT 1
- Infinite loading with iOS Nextcloud App HOT 1
- Checksetup request timed out - increase timeout fix it HOT 3
- 28.0.3.2 → 29.0.0.19: issues about .htaccess and .well-known HOT 19
- Cron runs for a time then stops (kuma docker with nextcloud docker) HOT 3
- Nextcloud 28 alpine image - permission denied when post-installation hook is invoked HOT 6
- `TRUSTED_PROXIES` doesn't evaluate `gethostbyname` HOT 2
- Error about docker-compose deploying Redis services HOT 1
- Replication Mariadb HOT 1
- Inventory and clarify how each auto-config value is handled [WIP]
- Document how to use `NC_*` environment variables with Nextcloud Server via the image HOT 1
- upgrade: oc_migrations already exists HOT 1
- Image for version 28.0.6 not available on Dockerhub HOT 10
- Add some auto config via hooks examples (e.g. setting arbitrary `config.php` values via `occ config:system:set`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.