when you look for kworker processes you see many of those
using a lot of CPU and making your server load very high
$ ps -aux | grep kworker
root 15 0.0 0.0 0 0 ? S Aug12 0:00 [kworker/1:0]
root 16 0.0 0.0 0 0 ? S< Aug12 0:00 [kworker/1:0H]
root 85 0.0 0.0 0 0 ? S< Aug12 0:09 [kworker/0:1H]
root 3562 0.0 0.0 0 0 ? S< Aug12 0:00 [kworker/0:2H]
root 5578 0.0 0.0 0 0 ? S 11:13 0:01 [kworker/0:0]
root 5579 0.0 0.0 0 0 ? S 11:13 0:00 [kworker/u4:1]
root 8789 0.1 0.0 0 0 ? S 12:19 0:10 [kworker/0:2]
root 30236 0.0 0.0 0 0 ? S 08:39 0:01 [kworker/u4:0]
top:
top - 10:10:17 up 20:15, 3 users, load average: 24.01, 28.04, 19.36
Tasks: 436 total, 1 running, 435 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.2 us, 0.0 sy, 0.0 ni, 97.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
so what's going on??
there is a probability you linux server is on "Power saving" mode
means that cpu is not started until an application is requesting a cpu
then there is a lot of traffic and interrupts between kernel and cpus if you application is a bit greedy
how to identify your linux server is on power saving mode?
look at the CPU frequency - if it's not equal and on max level, ask your IT guy to change it
[root@server111 ~]# cat /proc/cpuinfo | grep MHz cpu MHz : 1200.000 cpu MHz : 2130.000 cpu MHz : 1200.000 cpu MHz : 2700.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 1230.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 2475.000 cpu MHz : 1200.000 cpu MHz : 1200.000 cpu MHz : 2400.000 cpu MHz : 2415.000
after fixing and rebooting the server:
[root@server111 ~]# cat /proc/cpuinfo | grep MHz
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
cpu MHz : 2693.400
top:
top - 06:54:45 up 3:39, 2 users, load average: 0.10, 0.18, 0.22
Tasks: 424 total, 1 running, 423 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 0.0 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
Comments
Post a Comment