[jboss-jira] [JBoss JIRA] (WFLY-4664) Enable Garbage Collection Logging by Default - missing feature from EAP6

Jason Greene (JIRA) issues at jboss.org
Thu Sep 17 01:51:09 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFLY-4664:
-------------------------------
    Fix Version/s: 10.0.0.CR2
                       (was: 10.0.0.CR1)


> Enable Garbage Collection Logging by Default - missing feature from EAP6
> ------------------------------------------------------------------------
>
>                 Key: WFLY-4664
>                 URL: https://issues.jboss.org/browse/WFLY-4664
>             Project: WildFly
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 10.0.0.Alpha1
>            Reporter: Marek Kopecký
>            Assignee: Tomaz Cerar
>            Priority: Optional
>             Fix For: 10.0.0.CR2
>
>
> Description of problem:
> GC logging java opts are not passed to standalone server
> Steps to Reproduce:
>  1. Start the standalone server (on windows or linux) and observe the console logs.
> Actual results:
> JAVA_OPTS: -server -XX:+UseCompressedOops  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
> Expected results:
> JAVA_OPTS:  -server -XX:+UseCompressedOops  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -verbose:gc -Xloggc:"$JBOSS_LOG_DIR/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading
> Additional info:
>    - EAP6 jira: https://issues.jboss.org/browse/EAP6-121
>    - EAP6-121 feature is commented in standalone.sh and standalone.bat
>    - these OPTS are missing: -verbose:gc -Xloggc:"$JBOSS_LOG_DIR/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list