My opcache had a memory_consumption set of 512M and it was full.
So I increased it to 2048M, and restarted the php-fpm daemon. And it immediately filled up again:
This site is simply running a WP Multisite installation with 2 subdomain sites. Nothing special, really. It's a low traffic site, mostly static. It does have a Woocommerce shop, but with two products only. Nothing makes me think that this amount of cache consumption is justified.
- Does PHP7's Opcache preallocate all of the memory it is configured to use?
- Or is my cache genuinely filled?
- Or am I setting the incorrect property?
My php-fpm config has:
php_value[opcache.memory_consumption] = 2048
How can I get further insight into what's going on?