Procházet zdrojové kódy

Document that Synapse cache autotuning limits apply per process

The autotuning defaults are derived from total system RAM, but every
Synapse process (the main one and each worker) applies the configured
limits independently, so worker setups multiply the theoretical
aggregate cache memory usage.

Fixes #3336

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
create-pull-request/i18n
Slavi Pantaleev před 12 hodinami
rodič
revize
5a9e34c563
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +3
    -0
      docs/maintenance-synapse.md

+ 3
- 0
docs/maintenance-synapse.md Zobrazit soubor

@@ -105,6 +105,9 @@ Cache autotuning is **enabled by default** and controlled via the following vari


You can **learn more about cache-autotuning and the global cache factor settings** in the [Synapse's documentation on caches and associated values](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caches-and-associated-values). You can **learn more about cache-autotuning and the global cache factor settings** in the [Synapse's documentation on caches and associated values](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caches-and-associated-values).


> [!NOTE]
> These limits apply **per Synapse process**. If you have [workers](configuring-playbook-synapse.md#load-balancing-with-workers) enabled, the main process and every worker each apply the configured limits independently, so the theoretical aggregate cache memory usage gets multiplied by the number of processes. When running many workers on a memory-constrained server, consider setting these variables to lower, explicitly chosen values.

To **disable cache auto-tuning**, unset all values: To **disable cache auto-tuning**, unset all values:


```yaml ```yaml


Načítá se…
Zrušit
Uložit