summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-12-28 13:12:27 +0000
committerBen Copeland <ben.copeland@linaro.org>2017-01-04 15:38:26 +0000
commitcf8d3547c68bea90ca90d855e6098af25e347b90 (patch)
tree9494c7e44993b18ed845b9cbd60c32db637e6017
parent1fcc880d689eef7d8486d5da25fb1672fed5541e (diff)
downloadansible-playbooks-cf8d3547c68bea90ca90d855e6098af25e347b90.tar.gz
gerrit: Increase perm memory and packedGitLimit
Recent gerrit upgrade caused perm memory issues, mainly when indexing. core.packedGitLimit should also be set, as default 10M is too small, should be increased with more perm memory. https://git.help.collab.net/hc/en-us/articles/234122407-Memory-settings-in-Gerrit-configuration Change-Id: I97d305f0522ffc9d71d9c01980c81164ea17ce13 Reviewed-on: https://review.linaro.org/16571 Reviewed-by: Andy Doan <andy.doan@linaro.org>
-rw-r--r--per-service/git-servers/files/gerrit/android-review.linaro.org3
-rw-r--r--per-service/git-servers/files/gerrit/review.linaro.org3
2 files changed, 4 insertions, 2 deletions
diff --git a/per-service/git-servers/files/gerrit/android-review.linaro.org b/per-service/git-servers/files/gerrit/android-review.linaro.org
index 1a16acd..6b10024 100644
--- a/per-service/git-servers/files/gerrit/android-review.linaro.org
+++ b/per-service/git-servers/files/gerrit/android-review.linaro.org
@@ -1,5 +1,6 @@
[core]
streamFileThreshold = 512m
+ packedGitLimit = 1500m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = http://android-review.linaro.org/
@@ -35,7 +36,7 @@
[container]
user = git
javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre
- heapLimit = 1500m
+ heapLimit = 6000m
[sshd]
listenAddress = *:29418
idleTimeout = 5m
diff --git a/per-service/git-servers/files/gerrit/review.linaro.org b/per-service/git-servers/files/gerrit/review.linaro.org
index 86ea0c8..9c13cfe 100644
--- a/per-service/git-servers/files/gerrit/review.linaro.org
+++ b/per-service/git-servers/files/gerrit/review.linaro.org
@@ -1,5 +1,6 @@
[core]
streamFileThreshold = 512m
+ packedGitLimit = 1500m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = https://{{www_host}}/
@@ -32,7 +33,7 @@
[container]
user = git
javaHome = /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre
- heapLimit = 1500m
+ heapLimit = 6000m
[sshd]
listenAddress = *:29418
idleTimeout = 5m