elasticsearch启动错误:max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[2019-09-18T18:55:49,901][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-09-18T18:55:50,450][INFO ][o.e.d.DiscoveryModule ] [node-1] using discovery type [zen]
[2019-09-18T18:55:51,868][INFO ][o.e.n.Node ] [node-1] initialized
[2019-09-18T18:55:51,868][INFO ][o.e.n.Node ] [node-1] starting …
[2019-09-18T18:55:52,133][INFO ][o.e.t.TransportService ] [node-1] publish_address {172.31.205.112:9300}, bound_addresses {172.31.205.112:9300}
[2019-09-18T18:55:52,170][INFO ][o.e.b.BootstrapChecks ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[2]: memory locking requested for elasticsearch

在尝试启动Elasticsearch时遇到错误:max file descriptors数量为65535,低于最小需求65536。同时,内存锁定也未成功。在修改了/etc/security/limits.conf文件并增加nofile和memlock限制后,问题依然存在,因为JVM内存无法锁定,提示内存不足。
最低0.47元/天 解锁文章
3346

被折叠的 条评论
为什么被折叠?



