diff --git a/ansible/roles/ansible-jenkins/templates/etc_default.j2 b/ansible/roles/ansible-jenkins/templates/etc_default.j2 index b0302e9a8..26f9503cb 100644 --- a/ansible/roles/ansible-jenkins/templates/etc_default.j2 +++ b/ansible/roles/ansible-jenkins/templates/etc_default.j2 @@ -7,7 +7,7 @@ NAME=jenkins JAVA=/usr/bin/java # From https://jenkins.io/blog/2016/11/21/gc-tuning/ -JAVA_ARGS="-Xmx20g -Xms20g -Djava.awt.headless=true -Dhudson.model.User.SECURITY_243_FULL_DEFENSE=false -Dhudson.model.ParametersAction.keepUndefinedParameters=true -server -XX:+AlwaysPreTouch -Xloggc:/var/log/jenkins/gc-%t.log -XX:+PrintGC -XX:+PrintGCDetails -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1" +JAVA_ARGS="-Xmx20g -Xms20g -Djava.awt.headless=true -Dhudson.model.User.SECURITY_243_FULL_DEFENSE=false -Dhudson.model.ParametersAction.keepUndefinedParameters=true -server -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1" PIDFILE=/var/run/$NAME/$NAME.pid