# DataHub - API calls high CPU usage

**URL:** <https://forum.legato.io/t/datahub-api-calls-high-cpu-usage/5526>\
**Category:** Uncategorized\
**Created:** [November 30, 2020, 7:24pm UTC](https://forum.legato.io/t/datahub-api-calls-high-cpu-usage/5526 "2020-11-30T19:24:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [December 1, 2020, 9:00am UTC](https://forum.legato.io/t/datahub-api-calls-high-cpu-usage/5526/2 "2020-12-01T09:00:07Z")

</div>

how to reproduce the issue step by step?  
I tried on WP76 with the mangoh source, I don’t see 20% cpu load:

root@swi-mdm9x28-wp:~# app status | grep data  
[running] dataConnectionService  
[running] dataHub  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# top

```
top - 16:58:52 up 9 min, 1 user, load average: 2.28, 1.95, 1.06
Tasks: 197 total, 1 running, 196 sleeping, 0 stopped, 0 zombie
top - 16:58:55 up 9 min, 1 user, load average: 2.28, 1.95, 1.06
Tasks: 197 total, 1 running, 196 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.7 us, 6.6 sy, 0.0 ni, 90.4 id, 1.3 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 158792 total, 6452 free, 75924 used, 76416 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 65332 avail Mem

  137 root rt 0 0 0 0 S 4.5 0.0 0:01.44 cfinteracti+
 3378 root 20 0 3004 1256 880 R 2.6 0.8 0:00.23 top
    7 root 20 0 0 0 0 S 0.3 0.0 0:00.47 rcu_preempt
   22 root 20 0 0 0 0 S 0.3 0.0 0:01.87 kworker/u2:2
  137 root rt 0 0 0 0 S 0.3 0.0 0:01.45 cfinteracti+
  139 root 20 0 0 0 0 S 0.3 0.0 0:02.49 kworker/u2:4
    1 root 20 0 2324 600 536 S 0.0 0.4 0:01.18 init
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:00.26 ksoftirqd/0
    4 root 20 0 0 0 0 S 0.0 0.0 0:00.16 kworker/0:0
    5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
    6 root 20 0 0 0 0 S 0.0 0.0 0:02.13 kworker/u2:0
    8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
   10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
   11 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kdevtmpfs
   12 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
   13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 perf

```

root@swi-mdm9x28-wp:~# cm info  
Device: WP7605  
IMEI: 353532100020465  
IMEISV: 6  
FSN: 2A917285070404  
Firmware Version: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16  
Bootloader Version: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16  
MCU Version:  
PRI Part Number (PN): 9908705  
PRI Revision: 002.006  
Carrier PRI Name: SIERRA  
Carrier PRI Revision: 001.032\_000  
SKU: 1104208  
Last Reset Cause: Power Down  
Resets Count: Expected: 59 Unexpected: 0  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# legato version  
19.02.0\_a2f3e0fd302634e5deaac258dcf9b3fd

---

_[View the full topic](https://forum.legato.io/t/datahub-api-calls-high-cpu-usage/5526)._
