Elasticse 报错 -bootstrap cheques fallados

Problema

ERROR: [1] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2019-05-28T22:48:34,271][INFO ][o.e.n.Node               ] [elasticsearch-01] stopping ...
[2019-05-28T22:48:34,301][INFO ][o.e.n.Node               ] [elasticsearch-01] stopped
[2019-05-28T22:48:34,302][INFO ][o.e.n.Node               ] [elasticsearch-01] closing ...
[2019-05-28T22:48:34,329][INFO ][o.e.n.Node               ] [elasticsearch-01] closed
[2019-05-28T22:48:34,333][INFO ][o.e.x.m.p.NativeController] [elasticsearch-01] Native controller process has stopped - no new native processes can be started

Inserte la descripción de la imagen aquí

Responder

Motivo: Los valores de tipo: soft y hard y item: nofile en el archivo limits.conf son demasiado bajos y deben aumentarse al menos a 65535

Solución: modifique el archivo /etc/security/limits.conf e inicie sesión nuevamente en el usuario

* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096
Publicado 131 artículos originales · ganó 12 · 60,000 vistas +

Supongo que te gusta

Origin blog.csdn.net/JavaDestiny/article/details/90649272
Recomendado
Clasificación