# Problem with CPU usage 25-30 % with no running Queries

**URL:** <https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902>\
**Category:** PMM 1.x\
**Created:** [March 13, 2019, 2:38am UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902 "2019-03-13T02:38:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrews2018](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@andrews2018](https://forums.percona.com/u/andrews2018)\
**Post date:** [March 13, 2019, 2:38am UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902/1 "2019-03-13T02:38:26Z")

</div>

Hello,  
we have a Problem with CPU usage when adding a Percona 8 Server into PMM. The CPU utillization goes to 25-30 Percent even with no queries running.  
Even when no Parameters are set for Query Analysis this load exists so it is probably either the Linux Metrics or most likely the MySQL Metrics.  
Can u confirm this?  
We will test with Percona 5.7 as well.  
Kind Regards

---

<div class="post-metadata">

**Author:** ![andrews2018](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@andrews2018](https://forums.percona.com/u/andrews2018)\
**Post date:** [March 13, 2019, 3:36am UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902/2 "2019-03-13T03:36:13Z")

</div>

also happens with Percona 5.7 latest ( 5.7.25-28)  
PMM is latest version (1.7.1)  
tested under Ubuntu 16.04 latest and 18.04 latest

the metrics causing it is mysql:metrics  
when stopping it on the client the CPU usage goes down  
when starting again it goes up again

---

<div class="post-metadata">

**Author:** ![andrews2018](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@andrews2018](https://forums.percona.com/u/andrews2018)\
**Post date:** [March 13, 2019, 6:05am UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902/3 "2019-03-13T06:05:56Z")

</div>

more tests revealed: also happens with PMM 1.7.0  
does not appear with MySQL 5.6.43

no problems with upstream MySQL 8.0.15 either  
just default install and pmm-admin add mysql

---

<div class="post-metadata">

**Author:** ![andrews2018](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@andrews2018](https://forums.percona.com/u/andrews2018)\
**Post date:** [March 22, 2019, 11:59am UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902/4 "2019-03-22T11:59:46Z")

</div>

unfortunately no answer to this  
not a lot of activity in the forums by percona stuff it seem just users helping each other out…  
i also created a Jira Isse for this no answer there either  
[url][[PS-7752] Percona Server for MySQL 5.7/8.0 + mysql:metrics on Ubuntu leads to CPU usage 25-30 % - Percona JIRA](https://jira.percona.com/browse/PMM-3682%5B/url%5D)

tested with latest Percona Server for MySQL 8.0.15-5 and issue still remains  
any help appreciated  
kind regards

---

<div class="post-metadata">

**Author:** ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)\
**Post date:** [March 22, 2019, 12:05pm UTC](https://forums.percona.com/t/problem-with-cpu-usage-25-30-with-no-running-queries/6902/5 "2019-03-22T12:05:45Z")

</div>

Hey there, I’ll see if anyone has an answer for you. And THANK YOU for raising the JIRA.  
But it’s also GREAT if the community can help you out too.
