标题: es报错:Native controller process has stopped - no [打印本页] 作者: Elinkcloud 时间: 2022-4-26 16:53 标题: es报错:Native controller process has stopped - no 报错如下
ERROR: [3] bootstrap checks failed[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536][2]: max number of threads [3780] for user [esyonghu] is too low, increase to at least [4096][3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144][2018-12-12T21:54:57,353][INFO ][o.e.n.Node ] [PlbSkhz] stopping ...[2018-12-12T21:54:57,413][INFO ][o.e.n.Node ] [PlbSkhz] stopped[2018-12-12T21:54:57,413][INFO ][o.e.n.Node ] [PlbSkhz] closing ...[2018-12-12T21:54:57,473][INFO ][o.e.n.Node ] [PlbSkhz] closed[2018-12-12T21:54:57,488][INFO ][o.e.x.m.j.p.NativeController] [PlbSkhz] Native controller process has stopped - no new native processes can be started解决方法 ,增加如下内容
vi /etc/security/limits.confesyonghu soft nofile 65536esyonghu hard nofile 65536esyonghu soft nproc 4096esyonghu hard nproc 4096cd /etc/security/limits.dvi 20-nproc.conf -# Default limit for number of user's processes to prevent-# accidental fork bombs.-# See rhbz #432903 for reasoning.* soft nproc 4096root soft nproc unlimited将*号改成用户名esyonghu soft nproc 4096root soft nproc unlimited增加如下内容
vi /etc/sysctl.conf vm.max_map_count = 655360sysctl -pvm.max_map_count = 655360猜你还想看:
elasticsearch启动时常见的错误集合
es启动报错bootstrap checks failed如何解决