Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2017-12-07 19:55:41 +0300
committerAndrew Newdigate <andrew@gitlab.com>2017-12-07 19:55:41 +0300
commit776c0e6505c8ba14c0a5fbeb21f4cb78af2dc401 (patch)
tree43e482e7377f40f08d8878f2c46f1c4cda28eb44 /config.toml.example
parent164adab67e9f28b7ece915996c3dc5ca130e646d (diff)
Restart gitaly-ruby when it uses too much memory
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 2ad2fd4ef..10f8cce49 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -42,6 +42,15 @@ path = "/home/git/repositories"
# The directory where gitaly-ruby is installed
dir = "/home/git/gitaly/ruby"
+# # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
+# max_rss = 300000000
+#
+# # Grace period before a gitaly-ruby process is forcibly terminated after exceeding max_rss (seconds)
+# graceful_restart_timeout = "10m"
+#
+# # Time that gitaly-ruby memory must remain high before a restart (seconds)
+# restart_delay = "5m"
+
[gitlab-shell]
# The directory where gitlab-shell is installed
dir = "/home/git/gitlab-shell"