How to improve git performance using gitGcOnLoad=true?

Solution Unverified - Updated -

Issue

  • fabric-git Timeout Errors when provisioning JBoss Fuse containers
  • When provisioning JBoss Fuse containers with new profiles, removing profiles, or changing profile versions, we are encountering the following error in the container. The container tries to connect to the root container to perform a fetch and fails with timeout error.
  • stackTrace:
DEBUG | pool-14-thread-1 | GitDataStore                     | fabric8.git.internal.GitDataStore 1009 | 84 - io.fabric8.fabric-git - 1.0
.0.redhat-379 | Performing a fetch in git repository /pkg/jboss-fuse/jboss-fuse-6.1.0.redhat-379/instances/xxxday/data/git/local/fabric on remote URL: http://localhost:8181/git/fabric/
2016-02-18 10:32:14,092 | DEBUG | pool-14-thread-1 | GitDataStore                     | fabric8.git.internal.GitDataStore
 1022 | 84 - io.fabric8.fabric-git - 1.0.0.redhat-379 | Fetch failed - the error will be ignored
org.eclipse.jgit.api.errors.TransportException: Read timed out after 10,000 ms
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)[84:io.fabric8.fabric-git:1.0.0.redhat-379]
        at io.fabric8.git.internal.GitDataStore.doPull(GitDataStore.java:1014)[84:io.fabric8.fabric-git:1.0.0.redhat-379

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In