From 659848f8349c65287474e9ec7b6f97e51afbc62f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 17 Jan 2024 14:56:15 -0500 Subject: [PATCH] config_manual/performance_tuning: Update service_* setting links --- source/configuration_manual/performance_tuning.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/configuration_manual/performance_tuning.rst b/source/configuration_manual/performance_tuning.rst index 3ebfeafbfd..73e92abe94 100644 --- a/source/configuration_manual/performance_tuning.rst +++ b/source/configuration_manual/performance_tuning.rst @@ -55,12 +55,12 @@ CPU usage optimization (via auth-worker processes), set :dovecot_core:ref:`auth_cache_verify_password_with_worker=yes `. (v2.2.34+) -- Services having :ref:`client_limit>1 ` - and :ref:`process_limit>1 `, set - :ref:`process_min_avail ` to the number of CPU cores. +- Services having :dovecot_core:ref:`service_client_limit` > 1 + and :dovecot_core:ref:`service_process_limit` > 1, set + :dovecot_core:ref:`service_process_min_avail` to the number of CPU cores. - To reduce forks by reusing existing processes for new requests - increase :ref:`service { service_count } ` from 1 to higher (e.g. 100) + increase :dovecot_core:ref:`service_service_count` from 1 to higher (e.g. 100) for imap and pop3 services. It's better not to set it too high or unlimited (0), because different users use different amounts of memory, and it's wasteful when a lot of processes end up having a lot @@ -84,10 +84,10 @@ little. Note that these settings do not directly affect the memory usage: -- :ref:`service { vsz_limit } `: These are simply safe guards against +- :dovecot_core:ref:`service_vsz_limit`: These are simply safe guards against potential memory leaks. If the process's virtual size reaches the limit, the process is killed by the kernel. -- :ref:`service { process_limit } ` and - :ref:`service { client_limit } `: These are mostly to +- :dovecot_core:ref:`service_process_limit` and + :dovecot_core:ref:`service_client_limit`: These are mostly to avoid DoS attacks using up all your memory.