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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,614 views 26 12
Join discussion

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