From 96361830c7a127fe9b53fa3a320108299c1e5c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 29 Jun 2022 11:34:40 +0200 Subject: [PATCH] Update README.md --- .../operation/control/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/installation-and-operations/operation/control/README.md b/docs/installation-and-operations/operation/control/README.md index ea3d423580..950fa2c863 100644 --- a/docs/installation-and-operations/operation/control/README.md +++ b/docs/installation-and-operations/operation/control/README.md @@ -80,7 +80,22 @@ After changing these values, simply restart the web process: sudo openproject restart web ``` +#### Scaling the number of background workers +Note: Depending on your free RAM on your system, we recommend you raise the default number of background processes. By default, one background worker is spawned. Background workers are responsible for delivering mails, copying projects, performing backups and deleting resources. + +We recommend to have two background worker processes. Please check your current web processes count with: + + +To set the desired process count, call + +```bash +sudo openproject scale worker=number +``` + +Where `number` is a positive number between 1 and `round(AVAILABLE_RAM * 1.5)`. + +The respective systemd services are automatically created or removed. If you were already at the entered value, it will output `Nothing to do.` ## All-in-one Docker-based installation