meta data for this page
This is an old revision of the document!
error: pack-objects died of signal 9
git config pack.windowMemory 10m git config pack.packSizeLimit 20m
gitlab
git command running under user 'git' with gitlab installed looks for configuration in following places:
- current git repo
- /etc/gitconfig
- /var/opt/gitlab/.config/git/config
- /var/opt/gitlab/.gitconfig
This is a user config gile, and file is generated form
/opt/gitlab/embedded/cookbooks/gitlab/templates/default/gitconfig.erb
But if git binary from gitlab is used
sudo -u git -H "/opt/gitlab/embedded/bin/git" config -l
then, file /opt/gitlab/embedded/etc/gitconfig
is used.
To modify this file:
- gitlab.rb
omnibus_gitconfig['system'] = { "receive" => ["fsckObjects = true"], "core" => ["packedGitLimit = 40m", "packedGitWindowSize = 40m"], "pack" => ["deltaCacheSize = 40m", "packSizeLimit = 40m", "windowMemory = 40m", "threads = 1"] }
Test config:
gitlabctl show-config
Regenerate config:
gitlabctl reconfigure
sudo -u git bash cd /var/opt/gitlab/git-data/repositories/{namespace}/{repository}.git git gc --aggressive