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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to prevent Bitbucket Server to fall asleep?


we're running the latest Bitbucket Server version on a linux machine with Apache Tomcat/9.0.27.

If we're not using the web front end of Bitbucket for a while it seems that Bitbucket falls asleep as the next rerequest will take up to 40 seconds to load. It is fast again after the long load.

Am I missing a setting to prevent this behaviour?
Any help would be much appreciated.

Kind regards


1 answer

0 votes
Daniel Ebers Community Leader Jul 03, 2020

Hi Kevin,

without deeper knowledge of your deployment it will be hard to pinpoint it from here.

In general I'd suggest to go through the logs (including reverse proxy if you use one) but also have a look at the network connection. Probably it is a mixture of several reasons.

The most trivial cause for this I have seen in the past was a harddisk that went to sleep - causing a delay in application responses during spin-up. This might not apply to your case.
I guess you'll need to investigate further to find out more about the root cause.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,733 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you