История изменений
Исправление
kirk_johnson,
(текущая версия)
:
/proc/sys/vm/admin_reserve_kbytes (since Linux 3.10)
This file defines the amount of free memory (in KiB) on the
system that should be reserved for users with the capability
CAP_SYS_ADMIN.
The default value in this file is the minimum of [3% of free
pages, 8MiB] expressed as KiB. The default is intended to
provide enough for the superuser to log in and kill a process,
if necessary, under the default overcommit 'guess' mode (i.e.,
0 in /proc/sys/vm/overcommit_memory).
Systems running in "overcommit never" mode (i.e., 2 in
/proc/sys/vm/overcommit_memory) should increase the value in
this file to account for the full virtual memory size of the
programs used to recover (e.g., login(1) ssh(1), and top(1))
Otherwise, the superuser may not be able to log in to recover
the system. For example, on x86-64 a suitable value is 131072
(128MiB reserved).
Исправление
kirk_johnson,
:
/proc/sys/vm/admin_reserve_kbytes (since Linux 3.10)
This file defines the amount of free memory (in KiB) on the
system that should be reserved for users with the capability
CAP_SYS_ADMIN.
The default value in this file is the minimum of [3% of free
pages, 8MiB] expressed as KiB. The default is intended to
provide enough for the superuser to log in and kill a process,
if necessary, under the default overcommit 'guess' mode (i.e.,
0 in /proc/sys/vm/overcommit_memory).
Исправление
kirk_johnson,
:
/proc/sys/vm/admin_reserve_kbytes (since Linux 3.10)
This file defines the amount of free memory (in KiB) on the
system that should be reserved for users with the capability
CAP_SYS_ADMIN.
The default value in this file is the minimum of [3% of free
pages, 8MiB] expressed as KiB. The default is intended to
provide enough for the superuser to log in and kill a process,
if necessary, under the default overcommit 'guess' mode (i.e.,
0 in /proc/sys/vm/overcommit_memory).
Исправление
kirk_johnson,
:
/proc/sys/vm/admin_reserve_kbytes (since Linux 3.10)
This file defines the amount of free memory (in KiB) on the
system that should be reserved for users with the capability
CAP_SYS_ADMIN.
Исходная версия
kirk_johnson,
:
``` /proc/sys/vm/admin_reserve_kbytes (since Linux 3.10) This file defines the amount of free memory (in KiB) on the system that should be reserved for users with the capability CAP_SYS_ADMIN. ```