[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] use java settings more like yesterday
Holger Levsen
gitlab at salsa.debian.org
Wed Nov 7 11:23:46 GMT 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
e4e4199b by Holger Levsen at 2018-11-07T11:23:28Z
use java settings more like yesterday
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/start-slave.sh
- hosts/jenkins/etc/default/jenkins
Changes:
=====================================
bin/start-slave.sh
=====================================
@@ -17,7 +17,6 @@ if [ -f "$f" ]; then
fi
echo "This jenkins slave.jar will run as PID $$."
-#export JAVA_ARGS="-Xms768M -Xmx768M"
-#export MALLOC_ARENA_MAX=1
-#exec java $JAVA_ARGS -jar /var/lib/jenkins/slave.jar
-exec java -jar /var/lib/jenkins/slave.jar
+export JAVA_ARGS="-Xms1G -Xmx1G"
+export MALLOC_ARENA_MAX=1
+exec java $JAVA_ARGS -jar /var/lib/jenkins/slave.jar
=====================================
hosts/jenkins/etc/default/jenkins
=====================================
@@ -16,9 +16,9 @@ JAVA_ARGS="-Djava.awt.headless=true"
#JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address
# See some recommendation from https://jenkins.io/blog/2016/11/21/gc-tuning/
-JAVA_ARGS="$JAVA_ARGS -Xms20G -Xmx40G" # heap settings
+JAVA_ARGS="$JAVA_ARGS -Xms24G -Xmx24G" # heap settings
JAVA_ARGS="$JAVA_ARGS -server "
-#JAVA_ARGS="$JAVA_ARGS -XX:+AlwaysPreTouch"
+JAVA_ARGS="$JAVA_ARGS -XX:+AlwaysPreTouch"
# store heap dumps in case of OOM, to investigate it later
#JAVA_ARGS="$JAVA_ARGS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$JENKINS_HOME/heapDumps/"
# GC logging, in case somebody ever wants to actually finely tune the GC for us...
@@ -27,10 +27,11 @@ JAVA_ARGS="$JAVA_ARGS -server "
#JAVA_ARGS="$JAVA_ARGS -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC"
#JAVA_ARGS="$JAVA_ARGS -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy"
# G1 GC settings
-#JAVA_ARGS="$JAVA_ARGS -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication"
+JAVA_ARGS="$JAVA_ARGS -XX:+UseG1GC "
+#JAVA_ARGS="$JAVA_ARGS -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication"
#JAVA_ARGS="$JAVA_ARGS -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=10 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1"
# h01ger trying stuff
-#export MALLOC_ARENA_MAX=1
+export MALLOC_ARENA_MAX=1
# make jenkins listen on IPv4 address
#JAVA_ARGS="-Djava.net.preferIPv4Stack=true"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e4e4199b3fbf5383d60b5cc723009a0f75a23399
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e4e4199b3fbf5383d60b5cc723009a0f75a23399
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181107/74fa42e5/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list