[CentOS] Centos 7 kworker uses 100% of single core on mulit-core processor usage inquiry

Tue Apr 21 13:18:33 UTC 2015
Jonathan Billings <billings at negate.org>

On Mon, Apr 20, 2015 at 11:03:43AM -0400, Martes wrote:
> Tasks: 272 total,   2 running, 270 sleeping,   0 stopped,   0 zombie
> %Cpu(s):  7.1 us, 18.3 sy,  0.0 ni, 73.8 id,  0.7 wa,  0.0 hi,  0.1 si,  0.0 st
> KiB Mem : 32679644 total,   402520 free,  9889728 used, 22387396 buff/cache
> KiB Swap:        0 total,        0 free,        0 used. 21951812 avail Mem 
> 
>   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                  
>    91 root      20   0       0      0      0 R  94.1  0.0   1540:35 kworker/7:1                  
> 

I suggest trying out the suggestions listed here:
https://lkml.org/lkml/2011/3/31/68

In particular, if you look at the PID of the kworker using nearly 100%
of a core, you could run: (using the above output from top)

# cat /proc/91/stack 

And you'll see what function(s) it is running.  This will give you an
idea of what task it is spinning on.

-- 
Jonathan Billings <billings at negate.org>