当前位置: 代码迷 >> 综合 >> max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
  详细解决方案

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

热度:15   发布时间:2023-12-16 17:16:25.0

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

解决办法:

#切换到root用户修改
vim /etc/security/limits.conf

在最后面追加下面内容

XX hard nofile 65536
XX soft nofile 65536
XX 是启动ES的用户

  相关解决方案