Ad Widget

Collapse

Fine tuning Template App Generic Java JMX : gc XXXX in fire fighting mode on YYY

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HYPERMAN
    Junior Member
    • Sep 2018
    • 4

    #1

    Fine tuning Template App Generic Java JMX : gc XXXX in fire fighting mode on YYY

    As a zabbix freeloader I have no support, but I fund something you guys might want to fine tune in the future.

    Here is someone else's blog post explaining the problem: https://blog.svedr.in/posts/problem-...ting-mode.html

    Basically, zabbix java monitoring will complain if more effort is spent on major garbage collections than on minor collections.

    Most of the time this is a sane policy, except if you have a really boring service: If you have less than 1 collection each minute, you'll of course get 1 major collection and 0 minor collections once in a while, even if the last 10 minutes had 0 major collections and 1 minor collection. We have this problem outside our business hours.

    The blog post fine tunes the trigger for this situation, but only for the ParNew collection, by requiring a minimum of effort before triggering. I propose adapting the Template App Generic Java JMX for each firefighting mode trigger.
  • Chewbakka-Wakka
    Junior Member
    • Feb 2018
    • 25

    #2
    From the last one I saw the generic java template was "garbage", I haven't looked in a while but the trigger mapped to "fire fighting mode" meant practically nothing of interest. I should look at the latest one and see how it is.
    It is not simple to make one template which will cover this properly, as within a JVM you have many collectors available which operate in different forms.
    You can (I say never) have 0 minor collections and 1 or more major collections by design unless you've really messed up.
    I'd say the whole template needs to be re assessed from the ground up. Latest one on the share?

    Comment

    • Chewbakka-Wakka
      Junior Member
      • Feb 2018
      • 25

      #3
      It should be done through discovery to determine, which collector being used? Based on that then create appropriate triggers.

      Comment

      Working...