Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/95123
Change subject: contint: jenkins git config core.packedGitLimit=2G ...................................................................... contint: jenkins git config core.packedGitLimit=2G Whenever running `git gc --aggressive` on gallium as user jenkins, we end up sending the machine to swap. The reason is that when reading pack files, git map them in memory up to 8GB on 64 bits platforms. 2GB sounds sane enough. bug: 56717 Change-Id: Id5aa9a853a3fd100437b2b3db459d177f05bc9ab --- M manifests/role/ci.pp 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/23/95123/1 diff --git a/manifests/role/ci.pp b/manifests/role/ci.pp index dcbefe1..9c484e0 100644 --- a/manifests/role/ci.pp +++ b/manifests/role/ci.pp @@ -24,6 +24,10 @@ 'name' => 'Wikimedia Jenkins Bot', 'email' => 'jenk...@gallium.wikimedia.org', }, # end of [user] section + 'core' => { + # bug 56717: avoid eating all RAM when repacking + 'packedGitLimit' => '2G', + }, # end of [core] section }, # end of settings require => User['jenkins'], } -- To view, visit https://gerrit.wikimedia.org/r/95123 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id5aa9a853a3fd100437b2b3db459d177f05bc9ab Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits