遇到的一些elasticsearch报错信息整理

** 1. [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]**
环境centos7 ,已经修改过/etc/security/limits.conf修改过了,还是报错,使用命令查看ulimit -Hn和-Sn可以查看到没有改过来,需要先注销一下

[syz@192 elasticsearch-5.6.2]$ ulimit -Hn
4096
[syz@192 elasticsearch-5.6.2]$ ulimit -Sn
1024
[syz@192 elasticsearch-5.6.2]$ exit
exit
[root@192 syz]# su syz
[syz@192 ~]$ ulimit -Hn
131072
[syz@192 ~]$ ulimit -Sn
65536
posted @ 2021-05-11 19:28  lonelyisland  阅读(79)  评论(0编辑  收藏  举报