My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1919: SSH connections to Gerrit randomly hang
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by martincz...@gmail.com, May 16, 2013
Affected Version:

What steps will reproduce the problem?
1.repo sync -j32
2.tell me Exception caught java.io.IOException: Connection reset by peer.... 

my review config:
[gerrit]
	basePath = /var/www/git
	canonicalWebUrl = http://review.mfunz.com
[database]
	type = mysql
	hostname = localhost
	database = reviewdb
	username = gerrit2
	url = jdbc:mysql://localhost:3306/reviewdb?useUnicode=true&characterEncoding=utf-8
	poolLimit = 500
	poolMaxIdle = 50
	connectionPool = true
[auth]
	type = OPENID
[container]
	user = gerrit2
	javaHome = /usr/lib/jvm/java-6-sun/jre
	heapLimit = 5g
[sshd]
	listenAddress = review.mfunz.com:29418
	threads = 50
	loginGraceTime = 30s
	batchThreads = 2
	commandStartThreads = 5
	maxConnectionsPerUser = 512
[httpd]
	listenUrl = proxy-http://review.mfunz.com:8081/
	maxThreads = 2000
	maxQueued = 0
	maxWait = 30s
[cache]
	directory = cache
[core]
	packedGitOpenFiles = 2048
	packedGitLimit = 4g
	packedGitWindowSize = 16k
[cache "diff"]
	diskbuffer = 2g

Server configuration:
CPU: Intel E5530 x 2
memory: 32GB

gerrit has 400 users

help me and give me a solution, plz~~~
Sign in to add a comment

Powered by Google Project Hosting