Increase sshd threads for gerrit.

Based on the advice in this thread:
http://groups.google.com/group/repo-discuss/browse_thread/thread/b91491c185295a71

Size the sshd threads (which are also used to handle https git requests)
better.  Based on current trends, we peak at about 50% cpu usage
and 25% memory usage.  Double the number of threads here to try to
allow us to get closer to 100% cpu.

(Corresponding increase in db connections.)

Change-Id: Icde18233de01466b241ab28d38d2e98735108193
This commit is contained in:
James E. Blair 2012-02-02 14:22:08 +13:00
parent 5df7b71c12
commit 6c779a5f83

View File

@ -9,7 +9,7 @@
hostname = localhost
database = reviewdb
username = gerrit2
poolLimit = 20
poolLimit = 32
[auth]
type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %>
@ -22,7 +22,7 @@
javaHome = /usr/lib/jvm/java-6-openjdk/jre
[sshd]
listenAddress = *:29418
threads = 12
threads = 24
[httpd]
listenUrl = proxy-https://*:8081/
acceptorThreads = 8
@ -36,4 +36,4 @@
[commentlink "<%= commentlink['name'] %>"]
match = "<%= commentlink['match'] %>"
link = "<%= commentlink['link'] %>"
<% end -%>
<% end -%>