vm.max_map_count
时间: 2024-01-02 16:03:38 浏览: 204
vm.max_map_count是一个参数,它限制了一个进程可以拥有的虚拟内存区域(VMA)的数量。当这个值太低时,会出现报错信息,提示"max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]"。要查看当前的值,可以使用命令"sysctl -a|grep vm.max_map_count"。如果需要增加这个值,可以在/etc/sysctl.conf文件中添加一行"vm.max_map_count=262144"。这样做可以永久地将这个值设置为262144。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Linux修改文件句柄数及vm.max_map_count、stack size](https://blog.csdn.net/zhsh000/article/details/119927312)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Elasticsearch](https://blog.csdn.net/Java_Mr_Jin/article/details/122883009)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文