• Hi,

    We have a WooCommerce website hosted on a cPanel account with 6GB of physical memory, which should be sufficient for a site of our size. However, over time, as WooCommerce generates transients, our cPanel resource usage spikes to nearly 100% CPU and 100% memory consumption, causing the site to crash.

    When we manually clear WooCommerce transients, resource usage drops to below 20%, and the site becomes stable again. Unfortunately, we have to do this every few hours to keep the site running.

    Could you please help investigate what’s causing this issue?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I absolutely agree! I have the same thing, also cPanel, my hosting said that Woocommerce should help with this. This has been happening for quite a while, before, simply disabling the Plugins folder for a couple of minutes helped, but now as soon as I enable the folder again, all the indicators go to 100%. I don’t know how to clean the transitions, maybe you can share?

    Thank you so much

    Thread Starter farazahmad759

    (@farazahmad759)

    @wpkomissia You can clear transients by navigating to WooCommerce > Status > Tools. In my case, as transients accumulate, the site starts crashing within a few hours after clearing them. To avoid manual clearance, I wrote a script to automatically clear transients on a recurring schedule.

    Hello,

    Thank you very much for your reply! In my case, this usually happens after updating, deleting plugins. The debug log showed many of Woocommerce files. Renaming the Plugins folder does not help, the CPU, I/O and Memory indicators again soar to 100%. Do you have the Woo mobile app installed on your phone? I recently installed it, maybe this is related, I don’t know…..

    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @farazahmad759,

    I understand how frustrating it can be to deal with this issue and having to manually clear transients repeatedly. Several factors could be causing this, including hosting limitations, server permissions, cron jobs not functioning properly, plugin or theme conflicts, or scheduled actions getting stuck.

    Let’s go through some potential solutions to resolve the issue. First, check your wp-config.php file and ensure that the following line of code is set to false instead of true:
    define('DISABLE_WP_CRON', false);
    If this line isn’t present in the file, please add it.

    Next, try optimizing your database using a plugin like WP-Optimize. This will help remove unused database tables and clear unnecessary transients, which might be contributing to the issue.

    Finally, navigate to WooCommerce > Status > Scheduled Actions and check for any pending or failed actions related to transients. If you find any, try triggering them manually using a plugin like Action Scheduler.

    If the issue persists after these steps, please share your system status report by generating it from WooCommerce > Status > Get System Report > Copy for Support and pasting it into Pastebin. This will help in further diagnosing the problem.

    Thread Starter farazahmad759

    (@farazahmad759)

    Thanks @mosesmedh for getting back to me. Please find the system report here: https://pastebin.com/raw/WSsBnGG5

    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @farazahmad759,

    Your report doesn’t show any issues. Can you confirm if you’re still experiencing the problem after following the steps above? Have you optimized your database using WP Optimize, checked your scheduled actions and manually triggered them, and verified that cron is not disabled in your config file?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.