This is a
post by Sam Van Oort, Software Engineer at
CloudBees and contributor to the Jenkins project.
Today I’m going to show you how easy it is to tune Jenkins Java settings to
make your masters more responsive and stable, especially with large heap sizes.
The Magic Settings:
Basics: -server -XX:+AlwaysPreTouch
GC Logging: -Xloggc:$JENKINS_HOME/gc-%t.log -XX:NumberOfGCLogFiles=5 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=20m -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy
G1 GC settings: -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled...
Day of Cloud Native warm-up!
This month, Andrew Bayer will present: Declarative Pipelines: Tips, Tricks, and Gotchas
JFrog has been successfully hosting Jenkins User Conference – Tel-Aviv for the last seven years. This is the 2nd biggest Jenkins event in the world after the US.
Jenkins User Conference Tel Aviv and Paris 2018 will again bring together top Jenkins experts, CI/CD community thought leaders and innovative companies offering complementary technologies for Jenkins.