SVN Initial Indexing Fails Reporting connection refused by the server
During an initial indexing the following error pattern is reported:
Repository paused due to error com.cenqua.fisheye.rep.DbException: Problem getting diff information for revXXXXX com.cenqua.fisheye.svn.diff.SvnDiffException: Exception processing diff for revision XXXXX com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: connection refused by the server org.tigris.subversion.javahl.ClientException: svn: connection refused by the server org.tmatesoft.svn.core.SVNException: svn: connection refused by the server java.net.ConnectException: Connection refused
The problem usually happen when the SVN Server uses
inetd/xinetd to service the
Fisheye is creating too many connections, disrupting other
svnserve-based connections. This makes the Subversion Server refuse new connections.
At the Subversion repository configuration in Fisheye, set option Throttle connections-per-sec so that the number of connections can be limited:
- Go to the Fisheye Admin console, under "Repositories", open the Subversion repository configuration.
- Under "SVN Details", section "SVN Options", set option "Throttle connections-per-sec" to 25.
- Save the new configuration and Restart the repository so that the initial indexing can be resumed.