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 /doc/configuration/README.md
parent164adab67e9f28b7ece915996c3dc5ca130e646d (diff)
Restart gitaly-ruby when it uses too much memory
Diffstat (limited to 'doc/configuration/README.md')
-rw-r--r--doc/configuration/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/configuration/README.md b/doc/configuration/README.md
index 2aa1940f8..a5e9b5265 100644
--- a/doc/configuration/README.md
+++ b/doc/configuration/README.md
@@ -94,6 +94,23 @@ match those in gitlab.yml.
|path|string|yes|Path to storage shard|
|name|string|yes|Name of storage shard|
+### gitaly-ruby
+
+A Gitaly process uses one or more gitaly-ruby helper processes to
+execute RPC's implemented in Ruby instead of Go. The `[gitaly-ruby]`
+section of the config file contains settings for these helper processes.
+
+These processes are known to occasionally suffer from memory leaks.
+Gitaly restarts its gitaly-ruby helpers when there memory exceeds the
+max\_rss limit.
+
+|name|type|required|notes|
+|----|----|--------|-----|
+|dir|string|yes|Path to where gitaly-ruby is installed (needed to boot the process).|
+|max_rss|integer|no|Resident set size limit that triggers a gitaly-ruby restart, in bytes. Default 300MB.|
+|graceful_restart_timeout|string|no|Grace period to allow a gitaly-ruby process to finish ongoing requests. Default 10 minutes ("10m").|
+|restart_delay|string|no|Time memory must be high before a restart is triggered, in seconds. Default 5 minutes ("5m").|
+
## Environment variables
### GITALY_DEBUG