summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-08-09 13:33:56 +0100
committerAndy Doan <andy.doan@linaro.org>2016-08-10 19:43:31 +0000
commit730d93de1c6e4bd660b872a8fb926605367ca1f7 (patch)
tree337c6cca8fa0c4b61df0240d67e876d9a18b512d /per-service
parentfc38314898b46bd8a583a4d663da516fdd917569 (diff)
downloadansible-playbooks-730d93de1c6e4bd660b872a8fb926605367ca1f7.tar.gz
jenkins: increase PermSize and add debugging measures
Increase the PermSize to 512M (we have enough memory) and add Heap Dump, so when we next hit the OutOfMemoryError a heap dump will be generated. Change-Id: Iebf838ababa5e5bf54f37c3ac6035519ed8b11ae Reviewed-on: https://review.linaro.org/13668 Reviewed-by: Andy Doan <andy.doan@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
index af7d384..5ee4561 100644
--- a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
+++ b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
@@ -48,5 +48,5 @@
# org.jenkinsci.plugins.gitclient.Git.timeOut set here as a
# workaround for https://storyboard.openstack.org/#!/story/2000372
lineinfile: regexp="^JAVA_ARGS="
- line="JAVA_ARGS=\"-XX:MaxPermSize=128M -Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
+ line="JAVA_ARGS=\"-XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
dest=/etc/default/jenkins backup=yes