astahov006
Forum Replies Created
-
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmI reset opcache.memory_consumption on all sites and in central php.ini to 256M and flushed cache.
Here is the result:
https://infosecshop.ru/wp-content/uploads/2024/11/snimok-ekrana_2024-11-21_21-55-15.png
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmYes. I manage my sites mainly from fastpanel. It provides individual (php, nginx) settings for every site and doesn’t recommend to edit conf and ini files directly from command line. It can be overwritten then.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmWhat I try to understand is what is the real size of that shared OPcache memory and how can I increase or decrease it.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmIf I clicked on Flush (several times) nothing happens.
OPC memory size has to be the sum of opcache.memory_consumption of every site or it equals to the maximum opcache.memory_consumption value or anything else?
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmHere it is for two sites:
https://infosecshop.ru/wp-content/uploads/2024/11/snimok-ekrana_2024-11-21_16-20-28.png
https://infosecshop.ru/wp-content/uploads/2024/11/snimok-ekrana_2024-11-21_16-19-28.png
I have different php params for every site. You can see on snapshots opcache.memory_consumption 1G and 2G.
And by the way, if I turn on JIT, woocommerce sites stop working properly.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmAnd I don’t understand. If OPcache takes more than 2G and all memory usage on VDS is less than 3G. In this case system, cms, 9 sites and all plugins have to take take at least less than 1G?
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmIn this case how can I give more shared memory for OPcache to my sites to increase hitrate? Should I increase memory consumption value on all the sites say to 2G, for example?
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmMax. files 100 000
https://infosecshop.ru/wp-content/uploads/2024/11/snapshot_2024-11-19_15-02-18.png
Today hitrate 40%, Items:7,457 for all sites
If this is common shared memory I don’t know is it too much for 9 sites.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmOk. Thanks. I stoped apache.
If your plugin displays the correct values for OPcache than I see that all my sites use one common cache because the number of items and hitrate are the same for all the sites and don’t depend on memory consumption setting.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmphp v8.3
VDS memory 8G. 3G in use.
I didn’t stop apache cause it still used for redirects to other sites with .htaccess.
Forum: Plugins
In reply to: [atec Cache Info] caching details on nginx+php-fpmHello, docjojo
Situation with memcached is clear enough. Usage near 50%, hitrate near 80%. That’s all right.
But OPcache with 2GB memory consumption and 100% usage with 15% hitrate doesn’t seem normal.
Apache is still running on my VDS. But my WP sites don’t use it anymore. They are heavy enough with woocommerce and also portal type with many plugins installed.
Regards, Alex
Hi Janilyn T
In your demo store you use product images that are small enough (1000х1000). It’s scaling correctly indeed. But try to use larger product images, for example 2000х1500, and you’ll see that they do not fit in Quick View window (only if they were uploaded when quick view or smart compare plugin were activated).
Regards, Alex
I installed and activated WPCstore theme. The same problem remains.
Hello Janilyn T
I use popular Astra theme from Brainstorm Force if it helps.
As we can see on snapshot above ?uploaded product images are not scaling correctly also on backend in woocommerce product editor that doesn’t depend on the theme installed.
Regards, Alex
- This reply was modified 2 weeks, 2 days ago by astahov006.
An important clarification is that in order for uploaded product images to be scaled correctly, you still need to deactivate Smart Compare plugin together with Quick View plugin. If one of these plugins is activated new uploaded images are scaling incorrectly like on snapshots above in the previous post.