Yes, same issue here, I had to downgrade. To open an order (in backend) was almost impossible, to much time to load. And the frontend became slow also.
Exactly the same issue here as well. Opening a product page was taking about 30secs – most of that was just to update the _edit_lock meta. There’s clearly an issue with MySQL processes in V5.5.1
Hi @vietcuong82,
Here are my suggestions:
1. Change the default login url ( Recommended to all wordpress sites )
It can be done by changing it in the wp-login.php file in your WordPress directory where plugin needs to write hooks.
Or the simplest way is to using available plugins.
2. Forbidden all of access to wp-login.php by editing your htaccess.
3. I dont recommended to use web application firewalls plugins cause they can reduce your website’s performance.
Let me know if my answer can help you resolve your issue.
Hi @lucaslitextension,
Thanks for your reply. But as I mentioned, The WooCommerce version 5.5.1 cause “high CPU usage”, Then I downgraded WooCommerce to version 4.4.2, everything is back to normal.
It means that I have already solved my issue. It took me all day to figure out the problem is Woocommerce version 5.5.1 and Woocommere admin 2.4.1 have an issue when querying table wp_postmeta which has around 1.2 million rows. I tested this issue by delete all plugins, just keep only Woocommerce plugin, and also stop all traffic from outside. It means I’m the only one who can access the website.
My conclusion: there is some issue in my wp_postmeta table (empty/null value or something) and Woocommerce version 5.5.1 just keeps query until timeout, then it causes high CPU usage. Of course, if we set up a new website without any data, then this issue will never happen.
I just wanted to post it here so that if anyone has the same problem as me, they can try to downgrade Woocommerce to check whether it can solve the problem.
-
This reply was modified 2 years, 9 months ago by Daniel Trieu.
-
This reply was modified 2 years, 9 months ago by Daniel Trieu.
I am aware of the risk of “Critical WooCommerce SQL Injection Vulnerability” if I don’t upgrade to version 5.5.1 but I have no choice. I have to downgrade back to version 5.4.2 because I can’t stand opening only 1, 2 orders that cause CPU to reach nearly 100%. While without opening the order, the CPU is only at 20-30%.
I’m still trying to figure out what’s going on between WooCommerce 5.5.1 and my database.
Hi everyone 👋
It sounds like the following topic I’m sharing with you discusses this issue. In that topic, you will find a workaround and more details about this issue. Here is the linK:
https://wordpress.org/support/topic/mysql-problem-with-5-5x-update/
Cheers! 🙂
You are very welcome 😃
Great! I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Cheers.