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

0 votes

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,905 views 7 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