Git clone or pull becoming slower for repositories
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
Git clone or pull for the repositories is becoming slower.
Cause - No free disk space for BITBUCKET_HOME
SCM caching has been disabled due to the machine have less than 5GB (default setting) of free disk space.
Bitbucket Server is reaching resource limits warning is displayed.
The following appears in the
2017-11-24 10:23:32,304 WARN [ssh-scm-request-handler] username @11Y6RESx623x3139x3 1f57r6a xxx.xxx.xxx.xxx SSH - git-upload-pack 'proj/repo' c.a.util.contentcache.ContentCache content-cache@287: caching has been temporarily disabled because there is not enough space left on /<bitbucket-home>/caches/scm/287
Check if free disk space for BITBUCKET_HOME is less than 5GB
- Shutdown Bitbucket Server
Create or edit the file
BITBUCKET_HOME/bitbucket.propertiesto set plugin.bitbucket-scm-cache.minimum.free.space to have a lower value
It might cause the machine to run out of disk space.
- Restart Bitbucket Server
Increase free disk space in the
In a data center installation, the caches are located on the local filesystem of each node and not in the shared directory.
Was this helpful?Yes Provide feedback about this article