原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/_maximum_map_count_check.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Maximum map count checkedit
Continuing from the previous point, to
use mmap
effectively, Elasticsearch also requires the ability to
create many memory-mapped areas. The maximum map count check checks that
the kernel allows a process to have at least 262,144 memory-mapped areas
and is enforced on Linux only. To pass the maximum map count check, you
must configure vm.max_map_count
via sysctl
to be at least 262144
.
Alternatively, the maximum map count check is only needed if you are using
mmapfs
or hybridfs
as the store type for your
indices. If you do not allow the use of mmap
then this
bootstrap check will not be enforced.