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

Allow GC Logging or Java agent configuration for Synchrony

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • UIS:
      35
    • Support reference count:
      4
    • Feedback Policy:
      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.

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ttranminh Tam Tran
              Votes:
              35 Vote for this issue
              Watchers:
              33 Start watching this issue

                Dates

                Created:
                Updated: