ES启动异常:max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

ES启动异常

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

解决方法

root用户配置

vi /etc/security/limits.conf

*                soft    nofile          65536
*                hard    nofile          65536


然后我们再看看有没有设置好

就把当前账号退出,可以切换root就可以

ulimit -Hn
ulimit -Sn
posted @ 2022-10-15 22:21  King-DA  阅读(249)  评论(0编辑  收藏  举报