Commit c782dc88 authored by Grant Young's avatar Grant Young Committed by Achilleas Pipinellis

Update Sidekiq Cluster process guidance in RA docs

parent 81ab85a4
......@@ -1917,7 +1917,12 @@ To configure the Sidekiq nodes, on each one:
### Sidekiq configuration ###
#######################################
sidekiq['listen_address'] = "0.0.0.0"
sidekiq['cluster'] = true # no need to set this after GitLab 13.0
# Set number of Sidekiq queue processes to the same number as available CPUs
sidekiq['queue_groups'] = ['*'] * 4
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
#######################################
### Monitoring configuration ###
......@@ -1962,7 +1967,9 @@ To configure the Sidekiq nodes, on each one:
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
NOTE:
You can also run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
If you find that the environment's Sidekiq job processing is slow with long queues,
more nodes can be added as required. You can also tune your Sidekiq nodes to
run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
<div align="right">
<a type="button" class="btn btn-default" href="#setup-components">
......
......@@ -1913,7 +1913,12 @@ To configure the Sidekiq nodes, on each one:
### Sidekiq configuration ###
#######################################
sidekiq['listen_address'] = "0.0.0.0"
sidekiq['cluster'] = true # no need to set this after GitLab 13.0
# Set number of Sidekiq queue processes to the same number as available CPUs
sidekiq['queue_groups'] = ['*'] * 4
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
#######################################
### Monitoring configuration ###
......@@ -1958,7 +1963,9 @@ To configure the Sidekiq nodes, on each one:
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
NOTE:
You can also run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
If you find that the environment's Sidekiq job processing is slow with long queues,
more nodes can be added as required. You can also tune your Sidekiq nodes to
run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
<div align="right">
<a type="button" class="btn btn-default" href="#setup-components">
......
......@@ -642,6 +642,8 @@ On each node perform the following:
node_exporter['listen_address'] = '0.0.0.0:9100'
gitlab_workhorse['prometheus_listen_addr'] = '0.0.0.0:9229'
sidekiq['listen_address'] = "0.0.0.0"
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
puma['listen'] = '0.0.0.0'
# Add the monitoring node's IP address to the monitoring whitelist and allow it to
......
......@@ -1595,6 +1595,12 @@ To configure the Sidekiq nodes, one each one:
#######################################
sidekiq['listen_address'] = "0.0.0.0"
# Set number of Sidekiq queue processes to the same number as available CPUs
sidekiq['queue_groups'] = ['*'] * 2
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
#######################################
### Monitoring configuration ###
#######################################
......@@ -1650,7 +1656,9 @@ To configure the Sidekiq nodes, one each one:
```
NOTE:
You can also run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
If you find that the environment's Sidekiq job processing is slow with long queues,
more nodes can be added as required. You can also tune your Sidekiq nodes to
run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
<div align="right">
<a type="button" class="btn btn-default" href="#setup-components">
......
......@@ -1920,7 +1920,12 @@ To configure the Sidekiq nodes, on each one:
### Sidekiq configuration ###
#######################################
sidekiq['listen_address'] = "0.0.0.0"
sidekiq['cluster'] = true # no need to set this after GitLab 13.0
# Set number of Sidekiq queue processes to the same number as available CPUs
sidekiq['queue_groups'] = ['*'] * 4
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
#######################################
### Monitoring configuration ###
......@@ -1965,7 +1970,9 @@ To configure the Sidekiq nodes, on each one:
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
NOTE:
You can also run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
If you find that the environment's Sidekiq job processing is slow with long queues,
more nodes can be added as required. You can also tune your Sidekiq nodes to
run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
<div align="right">
<a type="button" class="btn btn-default" href="#setup-components">
......
......@@ -1585,6 +1585,12 @@ To configure the Sidekiq nodes, one each one:
#######################################
sidekiq['listen_address'] = "0.0.0.0"
# Set number of Sidekiq queue processes to the same number as available CPUs
sidekiq['queue_groups'] = ['*'] * 4
# Set number of Sidekiq threads per queue process to the recommend number of 10
sidekiq['max_concurrency'] = 10
#######################################
### Monitoring configuration ###
#######################################
......@@ -1639,7 +1645,9 @@ To configure the Sidekiq nodes, one each one:
```
NOTE:
You can also run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
If you find that the environment's Sidekiq job processing is slow with long queues,
more nodes can be added as required. You can also tune your Sidekiq nodes to
run [multiple Sidekiq processes](../operations/extra_sidekiq_processes.md).
<div align="right">
<a type="button" class="btn btn-default" href="#setup-components">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment