Elasticsearch6.4修改配置文件./bin/elasticsearch.yml的network.host:0.0.0.0,启动报:max number of threads [2048] for user [es] is too low, increase to at least [4096]

018-08-28T03:11:52,299][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/usr/elasticsearch/elasticsearch-6.4.0/config/roles.yml]
[2018-08-28T03:11:53,139][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/2118] [Main.cc@109] controller (64 bit): Version 6.4.0 (Build cf8246175efff5) Copyright (c) 2018 Elasticsearch BV
[2018-08-28T03:11:53,941][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-08-28T03:11:54,406][INFO ][o.e.d.DiscoveryModule    ] [node-1] using discovery type [zen]
[2018-08-28T03:11:55,812][INFO ][o.e.n.Node               ] [node-1] initialized
[2018-08-28T03:11:55,813][INFO ][o.e.n.Node               ] [node-1] starting ...
[2018-08-28T03:11:56,124][INFO ][o.e.t.TransportService   ] [node-1] publish_address {192.168.10.102:9300}, bound_addresses {[::]:9300}
[2018-08-28T03:11:56,205][INFO ][o.e.b.BootstrapChecks    ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max number of threads [2048] for user [es] is too low, increase to at least [4096]
[2018-08-28T03:11:56,264][INFO ][o.e.n.Node               ] [node-1] stopping ...
[2018-08-28T03:11:56,284][INFO ][o.e.n.Node               ] [node-1] stopped
[2018-08-28T03:11:56,284][INFO ][o.e.n.Node               ] [node-1] closing ...
[2018-08-28T03:11:56,309][INFO ][o.e.n.Node               ] [node-1] closed
[es@localhost elasticsearch-6.4.0]$

解决办法:

  • 新建(为方便删除)

/etc/security/limits.d/test-limits.conf

  • 添加

* soft nofile 65536
            * hard nofile 131072
            * soft nproc 4096
            * hard nproc 4096

  • 重启服务器(不会重新编译文件,你如果会可以不重启)

Elasticsearch6.4 max number of threads [2048] for user [*] is too low, increase to at least [4096]异常相关推荐

  1. Elasticsearch6.4 版 max number of threads [2048] for user [*] is too low, increase to at least [4096]

    Elasticsearch6.4修改配置文件./bin/elasticsearch.yml的network.host:0.0.0.0, 启动报:max number of threads [2048] ...

  2. es启动错误max number of threads [3802] for user [elasticsearch] is too low, increase to at leas

    es启动错误如下 max number of threads [3802] for user [elasticsearch] is too low, increase to at least [409 ...

  3. 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 ...

  4. 【总结】ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase

    ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase to a ...

  5. 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 ...

  6. 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 ...

  7. 安装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] 解 ...

  8. 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 ...

  9. 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 ...

最新文章

  1. WordPress漏洞扫描工具WPScan
  2. Unity网络多玩家游戏开发教程第1章Unity自带网络功能
  3. Requests请求库
  4. 【工业控制】PolyWorks培训教程-设备转站
  5. 转载:C++编译期多态与运行期多态
  6. 在Windows 2000下优化Oracle9i性能[转]
  7. 349. 两个数组的交集 golang
  8. 无线传感器网络 | 期末复习知识点1
  9. 全球软件巨头 Software AG 遭勒索攻击
  10. 获取数据库值,再在其值上做修改
  11. Oracle分页查询
  12. 使用百度识图 完成图片识别和文字识别
  13. 电脑网页如何截取全图(长图)
  14. 森松尼N-J60双模机械键盘按键操作说明
  15. Gradle 2.0 用户指南翻译——第六十三章. 比较构建
  16. 【操作系统】BIOS篇
  17. Python与图像处理7
  18. 蓝桥杯算法训练—关联矩阵
  19. RocksDB 架构
  20. 计算机基础与程序设计(基于C语言)学习笔记

热门文章

  1. 产品经理值得听的13个培训
  2. ECharts柱条渐变色设置以及常用渐变色
  3. 编程实践(Pandas)Task10
  4. Unity(支持WebGL)+PHP(Workerman的Gateway)用Websocket协议实现匹配对战(摇骰子为例)2
  5. php相机拍照太大,光比大就不能拍照了?教你5个简单的补救措施
  6. 洛谷循环结构(Freshman锻炼牛犇勿喷)
  7. K8S安装包以及镜像下载
  8. 基于JAVA创新创业教育中心项目申报管理系统计算机毕业设计源码+系统+lw文档+部署
  9. python强制表白按钮-模仿抖音-新手勿喷
  10. 移动端--(flex布局携程旅行)