JMX_Exporter Memory Usage

1,222 views
Skip to first unread message

afdra...@gmail.com

unread,
May 17, 2017, 8:50:08 AM5/17/17
to Prometheus Users
Hello,

I've noticed the JMX_Exporter(s) running processes are taking up quite a bit of memory (7G) for each. Is there a default limit for how much memory the jmx_exporter uses? if so, how can I change the memory usage limit so that it doesn't take up that much memory? 

Thank you,
Aliesha

Brian Brazil

unread,
May 17, 2017, 8:53:33 AM5/17/17
to Aliesha, Prometheus Users
On 17 May 2017 at 13:50, <afdra...@gmail.com> wrote:
Hello,

I've noticed the JMX_Exporter(s) running processes are taking up quite a bit of memory (7G) for each. Is there a default limit for how much memory the jmx_exporter uses? if so, how can I change the memory usage limit so that it doesn't take up that much memory? 

The JMX exporter is stateless, I doubt it's the exporter itself that's the issue. What JVM memory parameters (-Xmx and friends) have you specified?


--

afdra...@gmail.com

unread,
May 17, 2017, 9:30:59 AM5/17/17
to Prometheus Users, afdra...@gmail.com
The JVM properties are set for other processes, but not the jmx_exporter. I will try setting it to -Xms512m -Xmx1024m -XX:MaxPermSize=1024m and see how it performs. 

Brian Brazil

unread,
May 17, 2017, 9:34:05 AM5/17/17
to Aliesha, Prometheus Users
On 17 May 2017 at 14:30, <afdra...@gmail.com> wrote:
The JVM properties are set for other processes, but not the jmx_exporter. I will try setting it to -Xms512m -Xmx1024m -XX:MaxPermSize=1024m and see how it performs. 

You're probably picking up machine defaults then. In general it's recommended to run the jmx exporter as a java agent.

Brian
 

On Wednesday, May 17, 2017 at 8:53:33 AM UTC-4, Brian Brazil wrote:
On 17 May 2017 at 13:50, <afdra...@gmail.com> wrote:
Hello,

I've noticed the JMX_Exporter(s) running processes are taking up quite a bit of memory (7G) for each. Is there a default limit for how much memory the jmx_exporter uses? if so, how can I change the memory usage limit so that it doesn't take up that much memory? 

The JMX exporter is stateless, I doubt it's the exporter itself that's the issue. What JVM memory parameters (-Xmx and friends) have you specified?


--

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ac5645fe-2709-4dcf-b252-796bc988eeb2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

afdra...@gmail.com

unread,
May 17, 2017, 11:33:15 AM5/17/17
to Prometheus Users, afdra...@gmail.com
We're using the jmx_exporter with HTTP server as this is the best use case for us.


On Wednesday, May 17, 2017 at 9:34:05 AM UTC-4, Brian Brazil wrote:
On 17 May 2017 at 14:30, <afdra...@gmail.com> wrote:
The JVM properties are set for other processes, but not the jmx_exporter. I will try setting it to -Xms512m -Xmx1024m -XX:MaxPermSize=1024m and see how it performs. 

You're probably picking up machine defaults then. In general it's recommended to run the jmx exporter as a java agent.

Brian
 

On Wednesday, May 17, 2017 at 8:53:33 AM UTC-4, Brian Brazil wrote:
On 17 May 2017 at 13:50, <afdra...@gmail.com> wrote:
Hello,

I've noticed the JMX_Exporter(s) running processes are taking up quite a bit of memory (7G) for each. Is there a default limit for how much memory the jmx_exporter uses? if so, how can I change the memory usage limit so that it doesn't take up that much memory? 

The JMX exporter is stateless, I doubt it's the exporter itself that's the issue. What JVM memory parameters (-Xmx and friends) have you specified?


--

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.



--
Message has been deleted

dongl...@gmail.com

unread,
May 31, 2018, 12:10:27 AM5/31/18
to Prometheus Users
Hi,

     Does this problem has been solved?

Thank you,
Jack

在 2017年5月17日星期三 UTC+8下午8:50:08,afdra...@gmail.com写道:

Aliesha

unread,
May 31, 2018, 6:53:45 AM5/31/18
to dongl...@gmail.com, Prometheus Users
Since making the java changes recommended we haven't experienced any issues.

--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/Nb1z9xeDyKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7ace43ec-d33f-4bfa-9882-77f03ba0d3e6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages