Limit the number of concurrent connections from fisheye to one SVN server

XMLWordPrintable

    • 7

      Generated from https://support.atlassian.com/browse/FSH-1549

      In fisheye you may define many different repositories that all point to the same svn server.

      Your SVN server using svn serve with xinetd may have a limit, e.g. 5 connections to IP. Fisheye tries to open many connections (as it has many repositories pointing to the same server ) and xinetd denies over 5 connections, causing

      Unable to initialise repository svn://HOST/REPO/ due to com.cenqua.fisheye.config.ConfigException:Unable to get repository information: org.tigris.subversion.javahl.ClientException: svn: connection refused by the server
      or
      Unable to initialise repository svn://HOST/REPO/ due to com.cenqua.fisheye.config.ConfigException:Unable to get repository information: org.tigris.subversion.javahl.ClientException: svn: Handshake failed, received:
      

      errors.

      The workaround is to go to Administration > Server Settings > Resource Limits and set it to one Initial indexing thread and one Incremental indexing thread.
      Next go into Administration > Repository List > View (next to your svn repo) > Edit details and set the throttle connections per sec to blank, i.e. do not throttle or at most 2 if your xinetd limit is set to 5 (as index thread + incremental thread = 4 connections).

            Assignee:
            Unassigned
            Reporter:
            Partha
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: