Performance of Elasticsearch of bitbucket

Hi, we are facing perfomance issues.


Elastic search needs most of the time around 50% of the cpu of our server which hosts bitbucket.It is an AWS t2.large instance with 2 cores and 8 GB ram.


Can you check if this a reasonable amount of CPU load? Do you have information what influences the cpu load of elastic search?


Would be great if you can give us a hint, if we should take a look for misconfiguration or use a bigger instance.



1 answer

This widget could not be displayed.

Hi Martin, have you checked if the Elasticsearch log is growing in size? You can send us the bitbucket_search.log, omitting any sensitive information that might appear there.

Also, it might be worth for you looking at Troubleshooting steps for Bitbucket Server Code search.
Hope that helps!

Hi Ana,


thanks for your reply.

Our elasticsearch log is actually growing in size fast. Is this a common error? Is there a standard fix?

I will look into it in the next days. My workaround for now is to use a bigger instance and deleting the logs regulary.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,184 views 8 10
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