CPU usage 100%
Hi there!!!
My Linode CPU Utilization is 100%. I have only 2 websites currently integrated on this and have 160gb disk space out of that only 20% used and also ram with 8 GB out of this 81.4% is used why ram is taking more usage even though we have only two websites.
Load status?
100%
Running blocked
CPU usage
100%
4 Core
Memory usage
81.4%
6367/7821(MB)
/
14%
21G/158G
1 Reply
Hi! I'd recommend first checking which processes are consuming the most CPU and memory resources on your Linode. You can monitor this in real time with top
, or run the following commands from your terminal (or through Lish):
CPU
top -bn 1 -o %CPU | head -n 15
Memory
top -bn 1 -o %MEM | head -n 15
If one particular process is running away with most of the resources, you could try tuning it. For example, a few common applications that you might experience this with are Apache, MySQL or PHP. Here are some related guides on tuning these:
Tuning your Apache server:
https://linode.com/docs/web-servers/apache-tips-and-tricks/tuning-your-apache-server/
Tuning MySQL:
https://linode.com/docs/databases/mysql/how-to-optimize-mysql-performance-using-mysqltuner/
Optimizing your PHP configuration:
https://www.linode.com/community/questions/119/how-do-i-fix-php-fpm-out-of-memory#answer-219