Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

git pull taking long time


I am getting timed out exception frequently while using the bitbucket server.
and users are complaining its taking too much time more than 20 minutes for GIT Pull.

Seeing below exception at serverlogs


rest/branch-utils/latest/projects/CIM/repos/cim-all/branches/info/97767f82b5e2ab730d4842a36d05c7816e11f2f1 HTTP/1.1" c.a.s.i.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500
com.atlassian.bitbucket.ServerException: An error occurred while executing an external process: process timed out
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.evaluateThrowable(
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.onError(
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onExit(
at com.atlassian.bitbucket.scm.BaseCommand.callExitHandler(
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.internalGet(
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(
at com.atlassian.bitbucket.internal.branch.DefaultBranchService.getBranches(
at com.atlassian.bitbucket.internal.branch.DefaultBranchService.findByCommit(
at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(
at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(
at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(
at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(
at com.atlassian.plugin.connect.plugin.auth.oauth2.DefaultSalAuthenticationFilter.doFilter(
at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(
at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(
at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(
at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
... 239 frames trimmed
Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out
at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(
at com.atlassian.utils.process.ExternalProcessImpl.finish(
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(
... 34 common frames omitted

1 comment

Hi @Ribhi Yaseen,

I would start the investigation here by checking some details of this installation:

- the Bitbucket Server version

- what is the operating system hosting Bitbucket?

- how much memory and CPUs are available on the server?

- do you see any issues / slowness in the filesystem in general?


Here is the link to the resources requirements for the most recent Bitbucket Server version:

Supported platforms


While there is the possibility to increase the timeout for these operations, addressing the root cause would be much better.


Additionally, I would also like to ask you to enable the profiling log in Bitbucket Server and paste here the related stacktrace from the atlassian-bitbucket-profiler.log.



Caterina - Atlassian


Log in or Sign up to comment
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

192 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you