Hello,
The fault could be probably from a plugin or theme that is overloading the CPU. You can try the following troubleshooting steps;
1. Install the WP Server Healths >> https://wordpress.org/plugins/wp-server-stats/ (this will help you track your CPU and PHP usage
2. Try to deactivate all your plugins and activate them, one by one. This is to enable you to find the plugin culprit that is overloading your CPU
If you do not know how to do that, you can get in touch with your hosting to help you with it.
Thanks for help. I installed WP Server Healths plugin. It says PHP Memory : 54.77 MB of 512 MB (11% used) | RAM : 25 GB of 63 GB (40% used) | CPU Load: 4%
Is there a better way to find out which plugin is causing the problem?
Your CPU Load seems pretty fine with what you just shared now.
1. I would suggest you keep the plugin activated to watch out for any anomaly in your dashboard.
2. Otherwise, you can troubleshoot the problem right now to find out the plugin causing the CPU overload.
(a) To do that, install the Health Check & Troubleshoot plugin >> https://wordpress.org/plugins/health-check/ and activate the troubleshooting mode by going to your Dashboard >> Tools >> Site Health >> Troubleshooting
(b) The Troubleshooting mode of the plugin allows you to have a clean WordPress session, where all plugins are disabled, and a default theme is used, ( it doesn’t show any changes to your site visitors, only you will be able to see those changes)
(c) Then activate the WP Server Health plugin first so you can track your CPU usage, and begin activating other plugins one by one.
This will allow you to discover the plugin causing the CPU Overload