Question

Woocommerce takes CPU Usage to 107%

Hi there!

I just deployed a new 5$ droplet (1 GB Memory / 25 GB Disk) with Wordpress preinstalled (WordPress 5.5.1 on Ubuntu 20.04).

My idea was to run Woocommerce to sell some courses.

Since there won’t be hardly any traffic for now, I started with the smallest droplet.

After installing Woocommerce, I noticed that I couldn’t access any page of the website anymore.

Checking my droplet graphs, I saw that the CPU usage grew to more than 100% and I had to shut it down and turn it on again to be able to access my website.

If I try to add a new product to Woocommerce, the same problem happens again.

There are just Woocommerce and thrive themes installed in the droplet.

Do you think that this droplet is not strong enough or maybe I’m doing something wrong?

What do you recommend?

Thanks!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Matthevv,

Usually, I would suggest optimizing your Droplet but even optimizing it wouldn’t save the current situation.

Yes, I think the Droplet is not strong enough to handle your Theme and the Woocommerce plugin. More often than not, this plugin is the cause of all issues with a WordPress website regarding slowness and other stuff.

Having said that, I’ll recommend you to configure SWAP on your Droplet to prevent it from hanging up like that:

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04

Once you have that, you can also optimize your Droplet and your Website.

On the Droplet side, I’ll recommend using Opcache + php_fpm. These two will tremendously help you with how your Server is handling your Website.

Regarding your Website, I think you should install a Caching plugin, a plugin to optimize your images and similar stuff.