Disable Jenkins' CompressionFilter.

https://issues.jenkins-ci.org/browse/JENKINS-14362 indicates that
disabling Jenkins' compression filter corrects problems with zip
deflation threads in Jenkins that use up all available CPU time. Disable
the CompressionFilter in an attempt to work around this problem.

Change-Id: I5179fe54e6c942880bc75ef35e0b71ceb8773b30
Reviewed-on: https://review.openstack.org/25848
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-04-01 14:52:53 -07:00 committed by Jenkins
parent 7188fd57bc
commit 7e5cf3ef45

View File

@ -9,7 +9,9 @@ JAVA=/usr/bin/java
# arguments to pass to java
#JAVA_ARGS="-Xmx256m"
#JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address
JAVA_ARGS="-Xloggc:/var/log/jenkins/gc.log -XX:+PrintGCDetails -Xmx12g"
# Disable compression as zip deflation threads eat CPU time.
# https://issues.jenkins-ci.org/browse/JENKINS-14362
JAVA_ARGS="-Xloggc:/var/log/jenkins/gc.log -XX:+PrintGCDetails -Xmx12g -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true"
PIDFILE=/var/run/jenkins/jenkins.pid