Create
cancel
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

Bitbucket server keeps crashing after few minutes

Edited

I have a staging bitbucket server version 6.10 running in aws cloud which we migrated few days ago. It runs fine for 30 minutes or so and all of a sudden it stops working. When it stops working I completely loose access to the service in browser, I have to manually stop and then start service in ec2 instance in order to get it working. But it dies again in next 30 minutes. I did look at the logs but I did not find anything specific. Another thing I noticed is that it keeps on consuming 90% of the memory which is weird as the same version in prod runs fine. So I was wondering if there is anything I can check on bitbucket side which I had missed during installation. Thanks a lot in advance.

2 answers

1 accepted

0 votes
Answer accepted

Thank you Craig, it was the heap memory, earlier it was 1g-2g, I set it 512m-1g and it is working fine. It did not crash  since more than 20hrs so I  believe thats all needed to fix the  problem. The reason I think it needed to lower the heap was we are also running BB with elasticsearch locally.

0 votes

Hey @Rohit Dalvi 

You may wish to post your logs (redact anything sensitive) as others may be able to spot issues you looked past. 

Re: memory - what are your XMS/XMX settings for the app, how much memory does the server have, and what other services is it running?


CCM

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,497 views 4 8
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