3. CPU Usage
CPU (Central Processing Unit) usage, or utilization, is a well-known performance indicator that may be used to predict how responsive a program is. CPU utilization refers to the amount of work that is being handled by the CPU, or how much of the computer’s processing resources are being used.
Monitoring this metric is crucial because having very high CPU usage causes serious performance problems and slows down the whole server. This issue is frequently caused by abruptly increased site traffic.
Almost all server and application monitoring solutions can monitor the CPU usage and provide alerts. It's crucial to keep track of them not only per server but also in aggregate across all of your application's different instances.
Some of the things we can do in order to reduce our CPU utilization are:
- Remove high CPU plugins
- Clean the database
- Optimize images
- Delete everything that’s not being used
- Check for errors