Issues with rules OVERLOAD!
-
Hello Algol team, first of all congratulations for the development of your plugin.
I currently have the PRO version (purchased on your site), however I ran into 2 problems:
1) An incompatibility issue with Villatheme’s WooCommerce Multi Currency plugin (Url: https://codecanyon.net/item/woocommerce-multi-currency/20948446).
The bug caused that in the currency exchange, the shipping costs were calculated erroneously. This has been fixed. However I pass screenshot with the change made in case it is useful: https://tinyurl.com/yg4uvz7x
2) The most important problem is that the site where your plugin was implemented, currently more than 29,000 rules were implemented and activated, through an automated batch process directly to the database.
Originally the amount was less than 1000 rules, however our client has requested that amount and it is very likely to increase since there are many products that apply discount individually for each customer.
However this caused the site to present constant “Memory allocation” crash errors, which led us to increase the memory limit to 1052MB to solve it, however, the site is extremely unstable, slow and quickly saturates the CPU usage when making certain requests, such as using API or entering the options tabs of your plugin, without any type of error, even though the server is dedicated and has good capacity (4GB RAM, 2 CPU high frequency, 128 GB of space). When I deactivate the plugin everything operates normally.
Therefore, I urgently need your help to know why this is happening and if there is anything that can be modified in the settings or code to fix this. My guess is that the plugin loads all the rules at the same time in memory, in each request, overloading and saturating the server. So ideally the rules should only run for logged in users or at the required time. Or maybe there is an infinite loop somewhere or caused by the fix explainded.
Thank you in advance for your prompt response to resolve this.
- The topic ‘Issues with rules OVERLOAD!’ is closed to new replies.