Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-13552

Add JVM option to the minion startup script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 28.0.2
    • Fix Version/s: Meridian-2021.1.5
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2021 - Sep 1 - 15
    • Acceptance / Success Criteria:
      Hide

      JVM option `-XX:-OmitStackTraceInFastThrow` is correctly set for the Minion's java process.

      Show
      JVM option `-XX:-OmitStackTraceInFastThrow` is correctly set for the Minion's java process.

      Description

      While working on NMS-13539 we encountered exceptions without stack traces in the Minion's log files. It seems that a JVM optimization mechanism strips off stack traces for frequently appearing exceptions. To disable this behaviour the JVM option `-XX:-OmitStackTraceInFastThrow` must be specified.

        Attachments

          Activity

            People

            Assignee:
            cpape Christian Pape
            Reporter:
            cpape Christian Pape
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration