Linux – Heavy load (100% ni) and CPU load average is 42.61, 42.24, 42.23

centos6linuxnode.js

Machine: 8 Core processor with Centos 6.7

top command result

I am using node.js, PHP-FPM, NGINX, Redis, MongoDB.

I have checked with stopping all services created my me and PHP-FPM, NGINX, Redis, MongoDB processes but still getting 100%ni and 41% load average.

my node.js code sending files to another server using htpp request.

How can I check which process is getting more CPU and why?

Best Answer

Without any further information, it is hard to say.

I'd guess you just have too much IO which is a common problem when databases are not configured correctly.

You can use iotop to see which processes use most IO and use iostat to see which partition has how much IO utilization.