From b90f5f03c2d72dd81ebfbc9d5031dbcf93aa11fd Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 28 Mar 2019 10:46:22 -0400 Subject: [PATCH] nixos/gitaly: Run gitaly with procps in scope Gitaly uses `ps` to track the RSS of `gitlab-ruby` and kills it when it detects excessive memory leakage. See https://gitlab.com/gitlab-org/gitaly/issues/1562. --- nixos/modules/services/misc/gitlab.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 17c8c3ce51f4..459f6520d9ef 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -534,6 +534,7 @@ in { wantedBy = [ "multi-user.target" ]; path = with pkgs; [ openssh + procps # See https://gitlab.com/gitlab-org/gitaly/issues/1562 gitAndTools.git cfg.packages.gitaly.rubyEnv cfg.packages.gitaly.rubyEnv.wrappedRuby