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

elasticsearch安装时遇到的错误

问题翻译过来就是:elasticsearch用户拥有的可创建文件描述的权限太低,至少需要65536;

解决办法:

#切换到root用户修改
vim /etc/security/limits.conf
 
# 在最后面追加下面内容
*** hard nofile 65536
*** soft nofile 65536
 
***  是启动ES的用户
posted @ 2017-10-23 09:10  每天进步一丶  阅读(28148)  评论(4编辑  收藏  举报