From 559b0c86d56e974bd9be66b385b85687bda04385 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 20 Jan 2012 15:47:28 +1100 Subject: [PATCH] Tune gerrit parameters. In order to clone 8 keystone repos simultaneously via https in dev, the following were needed: httpd.acceptorThreads>=4 sshd.threads>=8 And database.poolLimit is supposed to be higher than http+ssh threads. Change-Id: I8d011af41e32f7865424d54d5a78a10a3689e708 --- modules/gerrit/templates/gerrit.config.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gerrit/templates/gerrit.config.erb b/modules/gerrit/templates/gerrit.config.erb index 8d0d99d1f8..10ce9b0ea3 100644 --- a/modules/gerrit/templates/gerrit.config.erb +++ b/modules/gerrit/templates/gerrit.config.erb @@ -9,6 +9,7 @@ hostname = localhost database = reviewdb username = gerrit2 + poolLimit = 20 [auth] type = OPENID_SSO openIdSsoUrl = <%= openidssourl %> @@ -21,8 +22,10 @@ javaHome = /usr/lib/jvm/java-6-openjdk/jre [sshd] listenAddress = *:29418 + threads = 12 [httpd] listenUrl = proxy-https://*:8081/ + acceptorThreads = 8 [cache] directory = cache [cache "web_sessions"]