2013-11-22 09:11:40,241 DEBUG [http-bio-7990-exec-31] voodoo 551x361x4 m751bs 127.0.0.1 "GET /rest/branch-utils/latest/projects/PROJECT/repos/repo/branches/info/23d2b5c777d94a603c489ac049628ea177463fcb HTTP/1.0" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500
      com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out
      	at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na]
      	at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:163) ~[na:na]
      	at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.9.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.9.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.9.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.9.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.9.1.jar:na]
      	at com.atlassian.stash.internal.branch.info.git.GitBranchInformation.getBranches(GitBranchInformation.scala:79) ~[stash-branch-utils-2.9.1_1384828358000.jar:na]
      	at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getFilteredBranches$1(DefaultBranchInformationService.scala:26) ~[stash-branch-utils-2.9.1_1384828358000.jar:na]
      	at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getBranches(DefaultBranchInformationService.scala:40) ~[stash-branch-utils-2.9.1_1384828358000.jar:na]
      	at com.atlassian.stash.internal.branch.rest.BranchUtilsResource.getBranches(BranchUtilsResource.java:107) ~[stash-branch-utils-2.9.1_1384828358000.jar:na]
      	at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.5_1384476184000.jar:na]
      	at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90) [StashAuthenticationFilter.class:na]
      	at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na]
      	at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na]
      	at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.2.jar:na]
      	at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.0-m3_1384476184000.jar:na]
      	at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na]
      	at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na]
      	at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:72) [stash-service-impl-2.9.1.jar:na]
      	at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
      	... 174 frames trimmed
      Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out
      	at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:506) ~[atlassian-processutils-1.5.14.jar:na]
      	at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:423) ~[atlassian-processutils-1.5.14.jar:na]
      	at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:222) ~[stash-spi-2.9.1.jar:na]
      	... 16 common frames omitted
      

            [BSERV-4129] Process timeout on changeset branch info REST call

            Stash runs this with very aggressive timeouts (5 seconds by default) to manage the load it could generate. If this is failing, it's an indication your server load is too high. You can adjust the timeout by setting:

            # Controls timeouts for retrieving branch information, which for large repositories can be quite slow and consume a
            # single Git process.
            # This values is in SECONDS
            plugin.stash-branch-information.timeout=5
            

            (The value shown above is the default)

            Bryan Turner (Inactive) added a comment - Stash runs this with very aggressive timeouts (5 seconds by default) to manage the load it could generate. If this is failing, it's an indication your server load is too high. You can adjust the timeout by setting: # Controls timeouts for retrieving branch information, which for large repositories can be quite slow and consume a # single Git process. # This values is in SECONDS plugin.stash-branch-information.timeout=5 (The value shown above is the default)

              Unassigned Unassigned
              3652ed9ede2e Alexey Efimov
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: