WooCommerce high CPU usage issue

[ad_1]

I contacted SiteGround support about high CPU usage and high server costs. Here's what they told me:

The high resource usage is mainly due to excessive WP-Cron and AJAX executions from my WordPress site. They suggested replacing WP-Cron with actual Cron jobs and provided some general advice on how to identify and reduce AJAX executions.

Additionally, my site is getting bombarded by requests from Google and Facebook bots, which they recommend limiting. Yes! I'm running Google Ads but not Facebook ads at all.

I'm looking for advice on how to tackle these issues effectively. Any WordPress experts here who can help? Thanks!

[ad_2]
6 Comments
  1. Yes replace wp-cron, cache expensive queries, Ajax is fine though. May also reduce plugin usage if possible.
    Best move to the better host. DO, vultr or linode etc

  2. Integrate CloudFlare to your site and add some bots rules, for crons you cans setup crons from your Siteground dashboard directly and disable them in Wp-config

    PM me if you need help.

  3. Did you move cron to the server? WP cron sucks

    I’ve been using easy cron, for off server cron triggers. Works really well

  4. wp-cron is one method to reduce cpu load but unlikely to magically solve the issue.

    Are you using a caching plugin and have an idea what calls the bots are making?

  5. If your running woocommerce, a caching tool like Litespeed is mandatory. It will need finetuning, heartbeat disabled, and manual cronjobs. Perhaps you can set or setup a crawler, and make the cache time to live at least 48 hours unless you update something for it to change.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer