Machine: 8 Core processor with Centos 6.7
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?
ps -e -opcpu=,cmd= | sort -rn
and look at the output near the top to find processes using most CPU.grep -c ^processor /proc/cpuinfo
) can be a sign of improper configuration. May be one or more of your applications are spawning too many threads as determined by their configuration.top