--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
On Jan 3, 2016, at 6:43 PM, Benedict Elliott Smith <b.ellio...@gmail.com> wrote:Depending on your JVM, GC settings, and if you open a new JMX connection for each call, this could cause either more frequent full GC or unexpected OOM.
No, it is dependent on the number of JMX calls, as they fill up permgen/metaspace.
On Jan 3, 2016, at 6:43 PM, Benedict Elliott Smith <b.ellio...@gmail.com> wrote:Depending on your JVM, GC settings, and if you open a new JMX connection for each call, this could cause either more frequent full GC or unexpected OOM.The Full GC is only called once per hour if there has been no GC activity in the last hour. You can dial that back but then you risk issues with recovering reference object of which it was finalization that was the biggest concern for the authors of RMI when the wrote the DGC as that is often the way things such as file descriptors recovered. Using Jolokia instead of RMI should for the JMXConnector will offer relief for some of that pressure but Jolokia is not a drop in replacement for a JMXConnector… unfortunately. It is mostly compliant on the server side but missed completely on the client side of the wire. Too bad IMHO because JMX would be much more useful if it weren’t using RMI at the core of the JMXConnector.Regards,Kirk
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
I'm now really confused. Looks like nagios uses jmx for monitoring, just interesting how they do it. Anyway, for me stability is more important than performance.
What is the deal with metaspace. If we will use CMSClassUnloadingEnabled with JDK 8_u65 and trigger 15-20 jmx methods with jolokia every 12 sec. will we be safe or OOM error still be a problem?
On Monday, January 4, 2016 at 12:38:58 PM UTC+2, Benedict Elliott Smith wrote:
No, it is dependent on the number of JMX calls, as they fill up permgen/metaspace.
On Jan 3, 2016, at 6:43 PM, Benedict Elliott Smith <b.ellio...@gmail.com> wrote:Depending on your JVM, GC settings, and if you open a new JMX connection for each call, this could cause either more frequent full GC or unexpected OOM.The Full GC is only called once per hour if there has been no GC activity in the last hour. You can dial that back but then you risk issues with recovering reference object of which it was finalization that was the biggest concern for the authors of RMI when the wrote the DGC as that is often the way things such as file descriptors recovered. Using Jolokia instead of RMI should for the JMXConnector will offer relief for some of that pressure but Jolokia is not a drop in replacement for a JMXConnector… unfortunately. It is mostly compliant on the server side but missed completely on the client side of the wire. Too bad IMHO because JMX would be much more useful if it weren’t using RMI at the core of the JMXConnector.Regards,Kirk
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
CMSClassUnloadingEnabled is by default enabled since JDK 8, therefore you don't have to set it explicitly. This allows CMS to do some unloading work during re-mark phase, which makes the phase a bit longer, but the impact as previously stated should be neglectable for the number of calls you provided. This helps you to avoid long lasting FullScan, triggered by perm/metaspace filling. I wouldn't expect OOM errors in this case.There should be no problem with arbitrarly triggered FullScans by RMI as you are using Jolokia.
Thanks,
Grzegorz
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
No, it is dependent on the number of JMX calls, as they fill up permgen/metaspace.
On Jan 12, 2016, at 9:44 PM, Kevin Burton <burto...@gmail.com> wrote:The "classic" JMX APIs are really expensive. Especially the remote method stub stuff.Jolokia is pretty decent as I *think* it is fast on the backend so you're really just dealing with REST at that point.