Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent Bitbucket Server to fall asleep?

Kevin Köllner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2020

Hi,

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

Kevin

1 answer

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 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.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events