Server 100% CPU, please help

While I agree we don’t really have enough info, looking at the amount of memory reported in top, it looks like this is the smallest size droplet that digital ocean does. I would expect cpu to hit 100% regularly on that.
Websites should still load reasonably well though if they’re not too busy and have some kind of caching plugin

It’s very clear 1GB is not enough memory for OP, given everything they’re doing with the system, but 8GB might be overkill. Many WordPress sites are happily running in 2GB or 4GB.

Running two Wordpress sites on only 1 gig of RAM can be dicey.

It can be nearly impossible depending on which theme you use. Some things that really slow down a Wordpress site the most are the themes themselves. Most are so badly coded they’re a liability to even consider using.

What’s more, many of them require a dozen or so addon plugins to make them work.

I would be very interested in knowing which themes you’re using. If they’re a “free” one you got off the internet somewhere, you can bet that’s a problem.

If you have a bunch of themes in your theme folder, that can be a problem as well. You should only have three themes in there:

  1. The theme you’re using.
  2. A child theme of that theme for modifications.
  3. One of the default themes that came with Wordpress. Just pick one, delete the others. That way if something goes wrong with your live theme you can back up to your default while you figure out what went wrong with the other.

Don’t horde themes, especially all the free ones. They will eat your system alive with constant update checks and more.

Also, check your caching. Some people make a lot of mistakes with caching and it causes massive usage spikes in their Wordpress sites.

If you’re doing anything I’ve covered, that’s your problem, not your system.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.