Git repo indexing failure - ProcessTimeoutException: process timed out

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The following appears in the atlassian-fisheye.log:

1 2 3 4 5 6 7 8 9 10 Caused by: com.atlassian.utils.process.ProcessException: While executing: "git whatchanged --always --reverse --date-order -m --no-abbrev --no-renames b93c997487b0005b352ca63d8728242f79033ddb ^d40af5a3890c0ac92783deaab6376c5c1b4c24a9 ^a489e66a16a1d1392451df4b50014546ae45ab80 ^a9fcee6eeabea16a1d1398907190d87123cec324 ^29e3a13890c0ac92827b8ad0ef74dc1703eee295 ^438831399ea3aded52b29221b699f8f21182d87f ^68a7bbada4e40feed55766039822ad3faaf35c9a ^4578d4ed3858931bfefcbcd7258a27a5fa0663059e ^9f154a6a931adbf42c20eaf1c7eb6c4348fec829 ^478f2ae392d004c09fadb509e539aeb3963e326e ^52e7352ce2509f8fe142bf653686b9e830b4fe53 ^a9baa2f8febd84f4242303c8760fc12126c6e425 ^c32c448b544dcca4405b35e339005651f674ea04 --pretty=format:C:%H%nP:%P%nA:%aN%nE:%aE%nR:%cN%nF:%cE%nD:%at%nS:%s%nB:%b%n@@fe_body_end@@ " in [/.../clone] at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:262) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:212) ... 19 more Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:440) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:306) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:351) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259)

Cause

The Git command is taking too much time to execute (the default Command Timeout for Git repositories in Fisheye is 1 hour).

Resolution

  1. Go to Fisheye Administration >> Repositories.

  2. Click in the name of the repository.

  3. Go to SCM Details and set the Command Timeout option to a higher value (e.g. 5h). Take a look at the Git Configuration document for further information.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.