[BlueOnyx:20622] Netdata - CPU usage at 90+%

Lewis Gardner lewisg at iglou.com
Thu Feb 2 23:18:43 -05 2017


I got a call this afternoon about slowness on a server and it appears 
Netdata was gobbling CPU:

> [root at xxxxxx admin]# top
> top - 14:43:28 up 86 days, 20:44,  1 user,  load average: 1.13, 1.40, 1.41
> Tasks: 176 total,   1 running, 175 sleeping,   0 stopped,   0 zombie
> Cpu(s): 37.7%us, 10.6%sy,  0.1%ni, 51.5%id,  0.1%wa,  0.0%hi,  0.1%si,  0.0%st
> Mem:   1922156k total,  1821540k used,   100616k free,   248380k buffers
> Swap:  4194300k total,   198300k used,  3996000k free,   880608k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 15443 netdata   20   0  170m  32m 1260 S 93.9  1.7  12:02.68 netdata
> 15459 netdata   20   0 11516 1736  808 S  2.0  0.1   0:06.45 apps.plugin
> 18919 root      20   0 15028 1168  820 R  2.0  0.1   0:00.01 top
>     1 root      20   0 19344 1100  876 S  0.0  0.1   2:06.84 init
>     2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd

A check on another server looked simular:

> [root at yyyyyyyy admin]# top
> top - 14:37:11 up 129 days,  2:50,  1 user,  load average: 6.02, 5.36, 5.90
> Tasks: 208 total,   1 running, 207 sleeping,   0 stopped,   0 zombie
> Cpu(s): 68.8%us, 30.8%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.4%si,  0.0%st
> Mem:    501988k total,   495796k used,     6192k free,     5864k buffers
> Swap:  1015804k total,   643668k used,   372136k free,    43952k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 30361 netdata   20   0  168m  30m 1044 S 97.8  6.2   6:18.64 netdata
> 30372 netdata   20   0  108m 1400 1120 S  0.3  0.3   0:00.16 bash
> 30380 netdata   20   0 11584 1808  768 S  0.3  0.4   0:01.14 apps.plugin
> 30383 netdata   20   0  263m  13m 2500 S  0.3  2.8   0:00.89 python
>     1 root      20   0 19344  536  304 S  0.0  0.1   0:39.68 init
>     2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd


Is this normal?

I have unclicked the Netdata Service box on both for now.





More information about the Blueonyx mailing list