Clone freezes at Compressing objects: 96%
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
Performing a clone operation freezes at "Compressing objects: 96%" on the client side.
> git clone <bitbucket base url>/scm/<project>/<repository>.git
...
Cloning into '.'...
remote: Counting objects: 453, done.
remote: Compressing objects: 96% (381/396)
環境
Bitbucket Data Center 6.10.1
Linux Kernel 2.6.32-573.el6.x86_64
診断
- The same clone operation also fails when executed from Sourcetree and locally on the server.
- Navigating to the repository on Bitbucket UI shows a 500 error
- Using GNU Debugger the following entries are found pointing to threads blocked in lock_wait_private()
In the example above threads 0x7fa31cc78700, 0x7fa31a474700 and 0x7fa326627700 are blocked on that method.
原因
This issue is caused by the bug below reported on older versions of the GLIBC library
ソリューション
- Update the GLIBC library to glibc-2.12-1.166.el6_7.1 or greater
- Update the OS to a newer version of the kernel