diff --git a/doc/admin-guide/files/records.yaml.en.rst b/doc/admin-guide/files/records.yaml.en.rst index d8ec449922c..c92caca1057 100644 --- a/doc/admin-guide/files/records.yaml.en.rst +++ b/doc/admin-guide/files/records.yaml.en.rst @@ -357,7 +357,7 @@ System Variables Thread Variables ---------------- -.. ts:cv:: CONFIG proxy.config.exec_thread.autoconfig INT 1 +.. ts:cv:: CONFIG proxy.config.exec_thread.autoconfig.enabled INT 1 When enabled (the default, ``1``), |TS| scales threads according to the available CPU cores. See the config option below. @@ -370,7 +370,7 @@ Thread Variables .. ts:cv:: CONFIG proxy.config.exec_thread.limit INT 2 - The number of threads |TS| will create if `proxy.config.exec_thread.autoconfig` + The number of threads |TS| will create if `proxy.config.exec_thread.autoconfig.enabled` is set to ``0``, otherwise this option is ignored. .. ts:cv:: CONFIG proxy.config.exec_thread.listen INT 0 @@ -5027,12 +5027,20 @@ Sockets Make sure accept threads are enabled - The relevant configurations for this are:: + The relevant configurations for this are + + .. code-block:: yaml + :linenos: + + ts: + exec_thread: + autoconfig: + enabled: 0 + limit: 2 + accept_threads: 1 + cache: + threads_per_disk: 8 - CONFIG proxy.config.exec_thread.autoconfig INT 0 - CONFIG proxy.config.exec_thread.limit INT 2 - CONFIG proxy.config.accept_threads INT 1 - CONFIG proxy.config.cache.threads_per_disk INT 8 See :ref:`admin-performance-timeouts` for more discussion on |TS| timeouts. diff --git a/doc/admin-guide/performance/index.en.rst b/doc/admin-guide/performance/index.en.rst index 5a2f3664e97..6b4fffe8cf3 100644 --- a/doc/admin-guide/performance/index.en.rst +++ b/doc/admin-guide/performance/index.en.rst @@ -185,7 +185,7 @@ Thread Scaling By default, |TS| creates one thread per CPU core on the host system. This may be adjusted with the following settings in :file:`records.yaml`: -* :ts:cv:`proxy.config.exec_thread.autoconfig` +* :ts:cv:`proxy.config.exec_thread.autoconfig.enabled` * :ts:cv:`proxy.config.exec_thread.autoconfig.scale` * :ts:cv:`proxy.config.exec_thread.limit`