Allow GC Logging or Java agent configuration for Synchrony

XMLWordPrintable

    • 8
    • 4

      We should allow free-form JVM arguments instead of the ones defined with -D prefix in the synchrony-args.properties.

      Workaround

      It is possible to add the GC Logging JVM arguments in the start-synchrony.sh for Data Center if you choose to setup the Synchrony Cluster yourself in the Confluence Data Center.

      1. Locate the line JAVA_OPTS="-Xss2048k -Xmx2g"
      2. Modify it as below:
        Example of adding GC Logging arguments
        JAVA_OPTS="-Xss2048k -Xmx2g -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -Xloggc:<synchrony-directory-path>/gc.log"
        

      This workaround doesn't apply to :

      • Confluence Standalone Server
      • Confluence Managed Synchrony in Data Center from v6.12 and above

      Other options: How to monitor the Synchrony cluster health

            Assignee:
            Alex Blekhman (Inactive)
            Reporter:
            Tam Tran
            Votes:
            53 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated:
              Resolved: