I was in assumption cpu average load is calculated depend on number of process in running state (R state) + process waiting for I/O ( D state). But today I noticed that server is showing high load average and number of running process is 1 and there is no process waiting for I/O.
I checked threads count also for running and I/O process that is minimum. Can someone give input from where this higher load average number is generating.
System is having 4 core cpu with ubuntu OS.
top - 21:10:01 up 4 days, 23:29, 0 users, load average: 32.31, 43.25, 19.64
Threads: 2077 total, 1 running, 2076 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.9 us, 2.0 sy, 0.1 ni, 92.0 id, 0.6 wa, 0.4 hi, 0.0 si, 0.0 st
KiB Mem: 16434332 total, 15447756 used, 986576 free, 1593972 buffers
KiB Swap: 6287356 total, 1259140 used, 5028216 free. 2754608 cached Mem
so here I am here looking for exact formula to calculate system average load. Thanks in advance.