From c000a7a19cb7e6c47da811d8d0c96ffca77ba8a7 Mon Sep 17 00:00:00 2001 From: Ahmad Sherif Date: Thu, 19 Nov 2020 17:30:44 +0100 Subject: Add initial implementation of spawning git inside cgroups Related to https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11648 --- config.toml.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index befe90a37..f3312072c 100644 --- a/config.toml.example +++ b/config.toml.example @@ -117,3 +117,16 @@ self_signed_cert = false # start_minute = 30 # duration = "45m" # storages = ["default"] + +# [cgroups] +# count = 10 +# mountpoint = "/sys/fs/cgroup" +# hierarchy_root = "gitaly" + +# [cgroups.memory] +# enabled = true +# limit = 1048576 + +# [cgroups.cpu] +# enabled = true +# shares = 512 -- cgit v1.2.3