Uploaded image for project: 'A-MQ Messaging-as-a-Service'
  1. A-MQ Messaging-as-a-Service
  2. ENTMQMAAS-2630

No -verbose:gc output from standard-controller etc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.5.2, 1.6.0
    • address-controller
    • None
    • False
    • False
    • Undefined

      Summary of the issue:

      The java based containers, standard-controller, address-space-controller set the env variable JAVA_OPTS to -verbose:gc. This setting is ineffective - the setting does not get passed to the JVM. As a a result no GC logging occurs, which was the intention.

      docker run -it --rm registry.access.redhat.com/amq7/amq-online-1-standard-controller:1.6-5 /bin/bash
      [jboss@342307e5d243 ~]$ export JAVA_OPTS=-verbose:gc
      [jboss@342307e5d243 ~]$ /opt/run-java/java-default-options
      -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
      [jboss@342307e5d243 ~]$ vi /opt/run-java/java-default-options

      What triage steps have been taken so far?:

      What logs have been reviewed (attach them?):

      What is the Namespace/Pod?:

            Unassigned Unassigned
            keithbwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified