Qpid
  1. Qpid
  2. QPID-2749

[Java Broker] Add -XX:+ExplicitGCInvokesConcurrent to qpid-server[.bat]

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: M2.1, M3, M4, 0.5, 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Currently JAVA_GC is set as following in qpid-server

      JAVA_GC="-XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError"

      In the case where an explicit GC is called this can cause significant delay. In order to avoid this the following option should also be supplied

      -XX:+ExplicitGCInvokesConcurrent

      In the case where RMI connections are being made to the JVM, Explicit GCs may be being called periodically (by default every hour) causing significant pauses in processing without this setting.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Andrew can you review this change please?

        Show
        Robbie Gemmell added a comment - Andrew can you review this change please?
        Hide
        Marnie McCormack added a comment -

        Correctly set for bat/bash script

        Show
        Marnie McCormack added a comment - Correctly set for bat/bash script
        Hide
        Andrew Kennedy added a comment -

        Reverting change due to anomalous results in long running performance tests. Tests show that non-transacted transient messaging throughput is reduced by 50% compared to previous releases. Issue was fixed by removal of this GC flag. For future reference, we may want to add sun.rmi.dgc.server.gcInterval system property with a value of one week or other similarly long period.

        Show
        Andrew Kennedy added a comment - Reverting change due to anomalous results in long running performance tests. Tests show that non-transacted transient messaging throughput is reduced by 50% compared to previous releases. Issue was fixed by removal of this GC flag. For future reference, we may want to add sun.rmi.dgc.server.gcInterval system property with a value of one week or other similarly long period.

          People

          • Assignee:
            Andrew Kennedy
            Reporter:
            Rob Godfrey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development