Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,640
Community Members
 
Community Events
176
Community Groups

Git clone operation is very slow

I have recently noticed that after the update of Bitbucket 7.17.4 our bitbucket server has become very slow and the git clone takes forever and builds are failing due to time out. Is there a configuration in Bitbucket which I can tweak to make the git clone operation faster ?

1 answer

0 votes

Hi @Rohit Dalvi 

Without looking at the logs themselves, the best thing I can think to advise would be to enable profiler logging on your Bitbucket instance, as well as git trace logging on the git client performing the clone, and use those to see where the slowdown is happening. (For more info on how to do that, see: Bitbucket - Enable debug logging)

Based on what I've seen in the past, the cause for this could be quite a few different things. To name a few:

  • Issues with the filesystem such as incorrect NFS settings, poor network connectivity between the Bitbucket NFS server and the Bitbucket nodes, bad read/write speeds or IOPS, etc.
  • Issues with the network connection between the Bitbucket node and the git client. (Sometimes caused by things such as using a VPN or some other aspect of the network itself.)
  • Issues with resource utilization on the Bitbucket node(s), where a large queue of requests is built up due to having insufficient resources to handle the incoming requests. For more info see: here and here
  • Issues with a reverse-proxy or load balancer in front of your Bitbucket node(s) that's imposing some kind of restriction on the HTTP requests being sent to Bitbucket.

Given the above potential causes, I'd recommend seeing if you can bypass your reverse proxy or that you use a different protocol for cloning (such as SSH) and then see if the slowness persists. If so, it's possibly something server-side such as a filesystem issue. Otherwise, if the issue goes away, it may be something more networking-related.

In either case, if you get stuck and need additional help, feel free to shoot our support team a request with a support zip from your Bitbucket nodes and we'll be happy to help advise further.

Thanks,

Evan Slaughter

Senior Support Engineer | Atlassian Support - Development Tools

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events