• Resolved bandreas3

    (@bandreas3)


    Hello. We have been suffering from server spikes, even after moving to a new server. Our internal host is blaming WooCommerce. “PHP-FPM process consumes up to 80% of a CPU resource. Tracing this process reveals that results in high CPU usage due to extensive I/O operations. Among these files, those related to the WooCommerce plugin are the most numerous. We’ve increased every resource and meet all minimum requirements.

    Also, in our application, we only use WooCommerce to organize and display our products, therefore, we do not use WooCommerce to transact purchases, generate swaths of notifications, user logins or record analytics.

    Can you advise any optimizations or perhaps, cron events that can be safely disabled? Any suggestions will be appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there, @bandreas3! Thanks for contacting us. I’m happy to help you.

    This is not expected behavior. Lets investigate to figure out what is going on.

    Have you deactivated Woo and checked if the issue persists?

    I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Can you please also install the Query Monitor plugin to monitor database queries and PHP errors. This plugin helps you identify slow queries or scripts causing high resource usage. Please share any error message it shows.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter bandreas3

    (@bandreas3)

    Hi carolm29. I will have to provide this when the server is restored. Thank you for responding.

    Hey, @bandreas3!

    No worries, you can take your time and share the information when you are able to. We’ll be here to help you ??

    Have a wonderful day!

    Thread Starter bandreas3

    (@bandreas3)

    Hi carolm29,

    Here is the link to our system report: https://gist.github.com/bandreas718/a84f5db585087912ba2cc230c8d5557c

    The server has been for too unstable to determine anything consistent from Query Monitor.

    Please let us know if you find anything out of sync.

    Thank you for your time.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @bandreas3

    Thanks for sharing additional information.

    First, please note that WooCommerce is a robust and resource-intensive plugin, but there are some optimizations you can consider to help with your situation.

    Next, have you had a chance to disable the Order Attribution feature? You can find it under WooCommerce > Settings > Advanced > Features. After disabling it, check if it improve the performance.

    After reviewing the system report, I noticed your database is very big. You can use a plugin like WP-Optimize to clean and optimize it regularly. I would also suggest increasing the PHP Post Max Size from 64 MB to 2 GB and the PHP Time Limit from 120 to 1200.

    You can also use the Index WP MySQL For Speed plugin, which improves the site’s performance and decreases CPU usage.

    If this makes no difference, I would recommend performing a conflict test to isolate the issue. This involves deactivating all other plugins except WooCommerce and switching to a default theme like Storefront or Twenty Twenty-Four. If the CPU usage decreases, you can then reactivate your plugins one by one to identify the one causing the issue.

    As for cron events, you can safely disable woocommerce_cleanup_sessions if you’re not using WooCommerce for transactions, user logins, or analytics. This cron job clears expired customer sessions and may not be necessary for your use case. More info: https://woocommerce.com/document/how-to-test-for-conflicts/

    I hope this helps. Please let us know if you have any questions or if the issue persists after performing the conflict test.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @bandreas3

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Extensive I/O operations consumes up to 80% of a CPU resource’ is closed to new replies.