一、现象

因为 es 不允许使用root用户安装,在使用新建的es用户安装的时候报错如下,

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

ERROR: [3] bootstrap checks failed. You must address the points described in the following [3] lines before starting Elasticsearch.
bootstrap check failure [1] of [3]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
bootstrap check failure [3] of [3]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, clust

二、解决办法

将当前用户的软硬限制调大。找到文件 /etc/security/limits.conf,编辑,在文件的最后追加如下配置:

es soft nofile 65535
es hard nofile 65537

说明: soft nofile表示软限制,hard nofile表示硬限制。两行语句表示,es用户的软限制为65535,硬限制为65537,即表示es用户能打开的最大文件数量为65537,不管它开启多少个shell。

elastic安装报错:max file descriptors [4096] for elasticsearch process is too low, increase to at least相关推荐

  1. 【总结】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 ...

  2. max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

    目录 背景 解决方法 结论 背景 在安装elasticsearch的时候使用一个用户账号安装,输入elasticsearch 会报max file descriptors [4096] for ela ...

  3. ES错误:max file descriptors [4096] for elasticsearch process is too low, increase to at least

    错误信息:max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] ...

  4. max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

    安装elasticsearch报错如下: 增加资源分配,资源分配不够进程会自动关闭服务 vim /etc/security/limits.conf * soft nofile 65536 * hard ...

  5. max file descriptors [4096] for elasticsearch process is too low 问题定位

    问题描述 某产品反馈在我们的系统中以某 A 用户部署运行 elasticsearch,启动 elasticsearch 时 log 中有如下报错信息: max file descriptors [40 ...

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

  7. elasticse报错 max virtual memory areas vm.max_map_count [65530] is too low, increase to at leas

    elasticsearch启动如下错误 root用户修改配置sysctl.conf vi /etc/sysctl.conf 添加下面配置 vm.max_map_count=655360 执行命令 sy ...

  8. ES部署报错 max file size 和 kibana 报错File size limit exceeded

    启动失败一 ERROR: [2] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process ...

  9. ES安装报错信息(持续更新)

    前提:es安装不能使用root用户,需要单独设置用户,且对es文件夹赋予权限. 1. max file descriptors [4096] for elasticsearch process is ...

最新文章

  1. 对面向对象基本原则的总结
  2. java中List深拷贝的简单实例
  3. 标 题:[转帖]SQL Server日期计算(收藏)
  4. M2: XAML Controls(2)
  5. ruby1.8.6 安装watir是出现问题记录
  6. script和href
  7. USB相关结构体之struct usb_device
  8. 【pmcaff】O2O的背后价值:数据将成为O2O真正核心
  9. hdu 1798(几何问题)
  10. Python技术分享:numpy库的安装教程
  11. MM引擎新应用——爱车加油记
  12. 计算机板报设计简单,计算机板报制作
  13. react.js 表单验证-登录框
  14. opendds简单入门(二)
  15. PDF文档怎么修改内容,怎么把PDF文件拆分
  16. PhysX3.4文档(13) -- Spatial Queries
  17. 微信小程序中的wx.navigateTo跳转路径写法
  18. Enhancing Label Correlation Feedback in Multi-Label Text Classification via Multi-Task Learning
  19. [NOIP2017模拟]Blash数集
  20. 打开 mhtml 文件 显示不全_解决 Nginx autoindex 显示文件名不全的问题

热门文章

  1. Whatsup-gold简介
  2. SINAMICS S120产品入门新手必读
  3. 计算机组装与维护过程及内容,计算机组装与维护
  4. Redis 的 8 大数据类型,写得非常好!值得收藏!
  5. Delphi 实现卸载Windows应用程序(类似360软件管家-卸载程序)
  6. 批改网交作业复制粘贴不了???
  7. scratch实现流畅动画/连贯动作/自制素材/少儿编程scratch教研教案课件课程素材脚本
  8. 3行代码5秒抠图的AI神器,PS什么的靠边了
  9. FLASH透明在360浏览器遨游浏览器等极速模式下失效解决办法
  10. 如何在Apple Watch上添加和更改世界时钟