# high CPU usage on pmm server

**URL:** <https://forums.percona.com/t/high-cpu-usage-on-pmm-server/6331>\
**Category:** PMM 1.x\
**Created:** [May 2, 2018, 5:11am UTC](https://forums.percona.com/t/high-cpu-usage-on-pmm-server/6331 "2018-05-02T05:11:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![romber](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/romber/32/36_2.png) [@romber](https://forums.percona.com/u/romber)\
**Post date:** [May 2, 2018, 5:11am UTC](https://forums.percona.com/t/high-cpu-usage-on-pmm-server/6331/1 "2018-05-02T05:11:36Z")

</div>

i’ve installed pmm server v1.10.0 via docker deployment method.  
this is a dedicated server only running pmm server ,it has 16 cores/48GB RAM/1000GB SSD, monitors about 60 mysql servers.  
what puzzled me is extremely high CPU usage, almost always 100%,  
and caused bad response time.  
i used -e METRICS\_MEMORY=30720000 and -e METRICS\_RETENTION=360h to limit 30GB RAM usage, 15 days retention.

what should i do to improve pmm response?  
thanks in advance

---

<div class="post-metadata">

**Author:** ![Peter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/peter/32/2_2.png) [@Peter](https://forums.percona.com/u/Peter)\
**Post date:** [May 2, 2018, 5:55am UTC](https://forums.percona.com/t/high-cpu-usage-on-pmm-server/6331/2 "2018-05-02T05:55:28Z")

</div>

Hi,

By default 1 sec resolution is used which is kind of expensive. You can set it to lower resolution ie 5 sec to reduce CPU usage see

[url][Percona Monitoring and Management](https://www.percona.com/doc/percona-monitoring-and-management/faq.html#what-resolution-is-used-for-metrics%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![romber](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/romber/32/36_2.png) [@romber](https://forums.percona.com/u/romber)\
**Post date:** [May 2, 2018, 6:21am UTC](https://forums.percona.com/t/high-cpu-usage-on-pmm-server/6331/3 "2018-05-02T06:21:42Z")

</div>

hi peter,  
first of all, thank you for answering my question,  
as the document mentioned, it could be up to 5 seconds,  
is it still 5 seconds for the latest release?  
could i set it to large value? for example, 60 seconds
