# PMM Client Holding onto a LOT of memory

**URL:** <https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447>\
**Category:** PMM 1.x\
**Created:** [February 27, 2017, 11:08am UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447 "2017-02-27T11:08:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakob\_Lorberblatt](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Jakob\_Lorberblatt](https://forums.percona.com/u/Jakob_Lorberblatt)\
**Post date:** [February 27, 2017, 11:08am UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447/1 "2017-02-27T11:08:47Z")

</div>

I have an instance of pmm-client running on a higher end machine with a full traffic load (good target for analysis). For this instance the mysqld\_exporter process is holding onto 28GB of RAM! I don’t know if this was true initially as I hadn’t checked after install, it has been running for about a month. Even after restarting the pmm processes it still resumes at this threshold. Is this a bug or something I can configure? at this usage level it makes the tool fairly infeasible to roll out do its resource requirements. I didn’t really expect the monitoring to have higher RAM usage then the mysqld process.

---

<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:** [February 27, 2017, 3:08pm UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447/2 "2017-02-27T15:08:14Z")

</div>

Hi Jakob,

Can you highlight which version of PMM client are you running ? This can be done by:

root@blinky:/var/lib/mysql# pmm-admin -v  
1.0.7

The 28GB consumed by exporter is surely something not expected. Can you show ps aux | grep mysqld\_exporter output so we can see more details

---

<div class="post-metadata">

**Author:** ![Jakob\_Lorberblatt](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Jakob\_Lorberblatt](https://forums.percona.com/u/Jakob_Lorberblatt)\
**Post date:** [March 6, 2017, 1:58pm UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447/3 "2017-03-06T13:58:53Z")

</div>

The Version is 1.0.4 for both the client and server.I’ll get you a more detailed view after its been running for some time, after launch it looks normal for a few minutes as far as memory consumption is concerned.

root 21601 0.0 0.0 15340 5992 ? Ssl 14:26 0:00 /usr/local/percona/pmm-client/mysqld\_exporter -collect.auto\_increment.columns=true -collect.binlog\_size=true -collect.global\_status=true -collect.global\_variables=true -collect.info\_schema.innodb\_metrics=true -collect.info\_schema.processlist=true -collect.info\_schema.query\_response\_time=true -collect.info\_schema.tables=true -collect.info\_schema.tablestats=true -collect.info\_schema.userstats=true -collect.perf\_schema.eventswaits=true -collect.perf\_schema.file\_events=true -collect.perf\_schema.indexiowaits=true -collect.perf\_schema.tableiowaits=true -collect.perf\_schema.tablelocks=true -collect.slave\_status=true -web.listen-address=x.x.x.x:42002

---

<div class="post-metadata">

**Author:** ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)\
**Post date:** [March 7, 2017, 3:15am UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447/4 "2017-03-07T03:15:51Z")

</div>

Hi Jakob,

can you update pmm client and pmm server to the latest version 1.1.1  
[url][https://www.percona.com/blog/2017/02/21/percona-monitoring-and-management-pmm-upgrade-guide/[/url]](https://www.percona.com/blog/2017/02/21/percona-monitoring-and-management-pmm-upgrade-guide/%5B/url%5D)  
and check how it is going after update?

---

<div class="post-metadata">

**Author:** ![Jakob\_Lorberblatt](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@Jakob\_Lorberblatt](https://forums.percona.com/u/Jakob_Lorberblatt)\
**Post date:** [March 7, 2017, 1:05pm UTC](https://forums.percona.com/t/pmm-client-holding-onto-a-lot-of-memory/5447/5 "2017-03-07T13:05:34Z")

</div>

Sure I have upgraded and am testing in an environment less likely to produce headaches if it has issues. Unfortunately none of these environments have had the same issue either to this point.
