Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-53548

Allow GC Logging or Java agent configuration for Synchrony

XMLWordPrintable

    • 8
    • 4
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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

              ablekhman@atlassian.com Alex Blekhman (Inactive)
              ttranminh Tam Tran
              Votes:
              53 Vote for this issue
              Watchers:
              46 Start watching this issue

                Created:
                Updated:
                Resolved: