2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 10:10:06 +00:00

chg: usr: Honour the Control Group memory contraints on Linux

On Linux, the system administrator can use Control Group ``cgroup``
mechanism to limit the amount of available memory to the process.  This
limit will be honoured when calculating the percentage-based values.

Merge branch 'ondrej/use-uv_get_available_memory-doc' into 'main'

See merge request isc-projects/bind9!9556
This commit is contained in:
Ondřej Surý 2024-09-26 11:20:14 +00:00
commit f48b86871f

View File

@ -3811,6 +3811,12 @@ system.
startup, so :iscman:`named` does not adjust the cache size limits if the startup, so :iscman:`named` does not adjust the cache size limits if the
amount of physical memory is changed at runtime. amount of physical memory is changed at runtime.
On Linux, the system administrator can use `cgroup`_ (Control Group)
mechanism to limit the amount of available memory to the process. This limit
will be honoured when calculating the percentage-based values.
.. _`cgroup`: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
.. namedconf:statement:: tcp-listen-queue .. namedconf:statement:: tcp-listen-queue
:tags: server :tags: server
:short: Sets the listen-queue depth. :short: Sets the listen-queue depth.