wsl 模式 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
目录
问题描述
解决方法
wsl 模式、
问题描述
windows docker 运行elasticsearch 直接就停止了。
docker run --name es01 -p 9200:9200 -p 9300:9300 -it docker.elastic.co/elasticsearch/elasticsearch:8.1.1
查看docker日志
docker logs es01
提示 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/docker-cluster.log
解决方法
网络上找到的基本都是说sysctl -w vm.max_map_count=262144货者是/etc/sysctl.conf里添加vm.max_map_count = 262144 。但是在容器里操作后问题依旧,后发现需要操作的是宿主机。然而windows的宿主机是用docker-desktop容器来提供服务的,操作方法如下。
wsl 模式、
注意:这个方法重启电脑或wsl --shutdown停止服务后重启就无效了。
进入宿主机:
wsl -d docker-desktop
输入
sysctl -w vm.max_map_count=262144
wsl 模式 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]相关推荐
- windows的max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
场景 windows使用WLS2作为docker的虚拟子系统,然后启动docker的elasticsearch的集群时出现max virtual memory areas vm.max_map_cou ...
- es max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144] /etc ...
- 安装es报错: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
启动es时报错max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 解 ...
- max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 安装ELK时报
一.问题背景 当我在K8S的容器中尝试去安装ELK软件过程中,遇到了这个报错:"max virtual memory areas vm.max_map_count [65530] is to ...
- [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
ubuntu系统下执行如下命令报错: sudo docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -e ES_MIN_MEM=128m -e ES_M ...
- ES启动异常:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
现象 ES启动时出现异常 bin/elasticsearchmax virtual memory areas vm.max_map_count [65530] is too low, increase ...
- [问题解决]max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
问题描述 问题解决 1.切换到root用户,修改配置/etc/sysctl.conf文件 文件末尾添加 vm.max_map_count=655360 并执行命令,使其立即生效 sysctl -p 然 ...
- Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increase
解决Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increa ...
- Ubuntu elasticsearch max virtual memory areas vm.max_map_count [65530] is too low, increase to at le
具体错误信息如下: jiankunking@ubuntu:~/software/elasticsearch$ ./bin/elasticsearch [2017-03-23T18:14:05,880] ...
最新文章
- 由PostgreSQL的区域与字符集说起
- axure中的拐弯箭头_Axure教程:实现菜单下拉效果
- 采购订单审批/取消审批程序(BAPI_PO_RESET_RELEASE、BAPI_PO_RELEASE)
- C语言操作符(又称运算符)(1)
- jQuery必知要点(一)
- 三星note4 9100自动关机问题以及空间不够的问题研究。。。。
- android 网卡监听,Android实时监听网络的变化
- linux服务器每次重启卡住,运维如何解决Linux服务器重启后命令无法正常使用的问题...
- 亲测 asp.net 调用 webservice返回json
- jQuery源码分析系列:.domManip() .buildFragment() .clean()
- 对比几个空地址“订阅”的结果
- KVO 的使用和举例
- 关于iOS端引入Myscript 的爬坑过程(pod install error)
- 一键seo提交收录_百度网站提交,选择主动提交,还是被动收录?
- cv2.imread不能正常读取gif格式图片
- 巴西游戏出海攻略,优质游戏出海市场
- 编程语言php加密与解密的方法
- 项目管理之如何进行项目干系人管理
- Git 各指令的本质,真的是通俗易懂!
- python语音合成并播放_语音合成篇