diff options
author | Toon Claes <toon@gitlab.com> | 2023-03-16 13:56:21 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2023-04-06 12:36:40 +0300 |
commit | e361ab4871766c3073dbc3d6a84788450bc430a3 (patch) | |
tree | 510d134387fd5812c54d73640d587b52788ab6db /doc/configuration/README.md | |
parent | c31b9fed97bb01a1790496386ceab8e31e76b1d8 (diff) |
config: Remove ruby configuration
Diffstat (limited to 'doc/configuration/README.md')
-rw-r--r-- | doc/configuration/README.md | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/doc/configuration/README.md b/doc/configuration/README.md index 4ece83e2a..189be0701 100644 --- a/doc/configuration/README.md +++ b/doc/configuration/README.md @@ -129,24 +129,6 @@ Prometheus query to see the hit rate: sum(rate(gitaly_catfile_cache_total{type="hit"}[5m])) / sum(rate(gitaly_catfile_cache_total{type=~"(hit)|(miss)"}[5m])) ``` -### `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 their 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"). | -| `num_workers` | integer | no | Number of `gitaly-ruby` worker processes. Try increasing this number in case of ResourceExhausted errors. Default 2, minimum 2. | - ### Logging Example: |