elastic安装报错:max file descriptors [4096] for elasticsearch process is too low, increase to at least
一、现象
因为 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相关推荐
- 【总结】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 ...
- max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
目录 背景 解决方法 结论 背景 在安装elasticsearch的时候使用一个用户账号安装,输入elasticsearch 会报max file descriptors [4096] for ela ...
- 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] ...
- 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 ...
- max file descriptors [4096] for elasticsearch process is too low 问题定位
问题描述 某产品反馈在我们的系统中以某 A 用户部署运行 elasticsearch,启动 elasticsearch 时 log 中有如下报错信息: max file descriptors [40 ...
- 安装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] 解 ...
- 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 ...
- ES部署报错 max file size 和 kibana 报错File size limit exceeded
启动失败一 ERROR: [2] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process ...
- ES安装报错信息(持续更新)
前提:es安装不能使用root用户,需要单独设置用户,且对es文件夹赋予权限. 1. max file descriptors [4096] for elasticsearch process is ...
最新文章
- 对面向对象基本原则的总结
- java中List深拷贝的简单实例
- 标 题:[转帖]SQL Server日期计算(收藏)
- M2: XAML Controls(2)
- ruby1.8.6 安装watir是出现问题记录
- script和href
- USB相关结构体之struct usb_device
- 【pmcaff】O2O的背后价值:数据将成为O2O真正核心
- hdu 1798(几何问题)
- Python技术分享:numpy库的安装教程
- MM引擎新应用——爱车加油记
- 计算机板报设计简单,计算机板报制作
- react.js 表单验证-登录框
- opendds简单入门(二)
- PDF文档怎么修改内容,怎么把PDF文件拆分
- PhysX3.4文档(13) -- Spatial Queries
- 微信小程序中的wx.navigateTo跳转路径写法
- Enhancing Label Correlation Feedback in Multi-Label Text Classification via Multi-Task Learning
- [NOIP2017模拟]Blash数集
- 打开 mhtml 文件 显示不全_解决 Nginx autoindex 显示文件名不全的问题