The bitbucket service is unavailable, high cpu and high memory appear, and it is found that git pack-objects occupies a lot of memory and cpu resources. This problem happens occasionally, is there any solution?
Hi @klin111 ,
there are many aspects that could impact your bitbucket performances. Please read the following article https://confluence.atlassian.com/bitbucketserver/scaling-bitbucket-server-776640073.html that could help you in order to increase performances.
Hope this helps,
Fabio
Thanks, I have read this official article and it doesn't seem to solve my problem. git cpu memory high problem. Do you have any other articles to recommend?
Same for me, I've followed the resources doc and configured the server to represent a large instance of Bitbucket and it still crashes regularly.
no update on this issue? we are facing similar issue with several git pack objects taking all the systems memory and leading to OOM errors in linux
I was able to get it resolved on my end. Our build server, Team City, was connecting to Bitbucket so frequently, I believe each project was connecting every 30 seconds looking for code changes that it was taking up most of the resources. To resolve the issue, we setup webhooks between Team City and Bitbucket so that a build would run only when code was committed, instead of each project checking every 30 seconds.
Hope this helps
Thanks Mark. Something similar on our end. We had end users uploading big files which were being processed by git consuming so much memory and cpu and having the rest of processes waiting until collapse of the system.
More control on what users are uploading to certain projects solved the issue.
Thx for your reply!
It looks like you're new here. Sign in or register to get started.