# PMM host cpu usage is 100%

**URL:** <https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881>\
**Category:** Percona Monitoring and Management (PMM)\
**Tags:** pmm\
**Created:** [August 3, 2022, 3:52pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881 "2022-08-03T15:52:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adnankaysar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/adnankaysar/32/7142_2.png) [@adnankaysar](https://forums.percona.com/u/adnankaysar)\
**Post date:** [August 3, 2022, 3:52pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/1 "2022-08-03T15:52:11Z")

</div>

The PMM to monitor the mysql 5.7 is eating all the CPU. When the server restarted and the services started very quickly the pmm host became unresponsive.

Spec:  
PMM 2  
RAM: 4GB  
CPU: 2 vCPU

Any suggestion on how to dig down the CPU issue?

Thanks in advance.  
//Kaysar

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 3, 2022, 6:54pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/2 "2022-08-03T18:54:41Z")

</div>

Are you referring to the PMM server or the PMM client?

---

<div class="post-metadata">

**Author:** ![adnankaysar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/adnankaysar/32/7142_2.png) [@adnankaysar](https://forums.percona.com/u/adnankaysar)\
**Post date:** [August 4, 2022, 12:12am UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/3 "2022-08-04T00:12:46Z")

</div>

The PMM server is using 100% cpu.

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [August 4, 2022, 11:27am UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/4 "2022-08-04T11:27:03Z")

</div>

Hello, you can go inside PMM container with

`docker exec -it pmm-server /bin/bash`

and run top to check what’s exactly eating resources

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [August 4, 2022, 3:54pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/5 "2022-08-04T15:54:57Z")

</div>

You can use the Node Summary dashboard to examine the health of Node Name = `pmm-server`

You can then examine whether the 100% CPU is related to iowait or some other bottleneck.

2 vCPU should be adequate to monitor up to about 10 MySQL instances

---

<div class="post-metadata">

**Author:** ![adnankaysar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/adnankaysar/32/7142_2.png) [@adnankaysar](https://forums.percona.com/u/adnankaysar)\
**Post date:** [August 4, 2022, 4:39pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/6 "2022-08-04T16:39:14Z")

</div>

Hi Michael,

Thanks for the reply.

The problem is that we couldn’t log in to the PMM dashboard as it became unresponsive after the PMM service started.

And the PMM host got hung and slowly CPU usage rise to 100% and log in to the host is not allowed.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [August 4, 2022, 5:58pm UTC](https://forums.percona.com/t/pmm-host-cpu-usage-is-100/16881/7 "2022-08-04T17:58:30Z")

</div>

If you have access to the instance where the docker container is running, you should be able to run `top` and see which process is consuming the CPU
