企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 最大map数检查 原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/current/_maximum_map_count_check.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/_maximum_map_count_check.html)译文链接 : [http://www.apache.wiki/pages/viewpage.action?pageId=9406717](http://www.apache.wiki/pages/viewpage.action?pageId=9406717) 贡献者 : [阿叩](/display/~luanqing),[ApacheCN](/display/~apachecn),[Apache中文网](/display/~apachechina) ## 最大map数检查 接着[上一点](https://aqlu.gitbooks.io/elasticsearch-reference/content/Setup_Elasticsearch/Bootstrap_Checks/Maximum_size_virtual_memory_check.html),为了让`mmap`生效,Elasticsearch还需要有创建需要内存映射区的能力。最大map数检查是确保内核允许创建至少262144个内存映射区,只在Linux执行检查。要想通过此检查,你需要通过`sysctl`设置`vm.max_map_count`最少为`262144`。