Slowly clone by git in FishEye

I have a git repository which now it has 100MB code size. When I clone it, it goes until 61% well but after that it will be very slowly. It taskes 1-2 minutes to reach 100%. I want to profile FishEye while cloning.

How can I do that?

5 answers

1 accepted

Based on monitoring resources and thrown exceptions(above comments), I think it is a bug in threads scheduling.

It may be fixed by as @Felipe Kraemer said.

Solution to resolve this bug is waiting for furute releases!

1 vote

Hello Hossein,

Slowness while indexing Git repositories is a known issue which is being tracked here:

This major improvement will be released in FishEye 3.2.

In the meantime, there are some suggestions in the description of the above issue that you can consider trying.

I monitor CPU, memory and disk usage by nmon in Linux. it shows me these resources are not bottleneck. So slowness should have another reason!

What's your idea?

1 vote

Hello Hossein,

I've discussed this issue further with the Atlassian Development team, and they told me that unfortunately won't be shipped with FishEye 3.2. It wasn't implemented on time. Please accept our apologies for that.

Our suggestion is to add to your watch list in order to receive any updates on it.

I set initial scan thread and incremental scan thread to 1 and 10 respectively. It was a little better and server responses to ping request. Already when I clone, server did not response to ping request. But still it is slow and it stops in 61% for 2 minutes.

In thread dump, there is a message but I do not know what does it meaning:

qtp1002735346-447: TIMED_WAITING (Waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@453d052f )

I debuged it. In 61% time, fisheye gives exception:

fisheye GitServlet-processErrors - git-http-backend process caused exception
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.utils.process.ExternalProcessImpl.execute(
        at com.atlassian.fisheye.repomgmt.servlet.GitServlet.service(
        at javax.servlet.http.HttpServlet.service(
I can send complete stack trace on request.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

101 views 2 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot