gpt4 book ai didi

elasticsearch - elasticsearch:elasticsearch过程的最大文件描述符[1024]太低,至少增加到[65536]

转载 作者:行者123 更新时间:2023-12-03 00:01:26 26 4
gpt4 key购买 nike

当我尝试运行logging aggregation时,我发现由elasticsearch生成的以下错误:

[2018-02-04T13:44:04,259][INFO ][o.e.b.BootstrapChecks ] [elasticsearch-logging-0] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max file descriptors [1024] for elasticsearch process is too low, increase to at least [65536]
[2018-02-04T13:44:04,268][INFO ][o.e.n.Node ] [elasticsearch-logging-0] stopping ...
[2018-02-04T13:44:04,486][INFO ][o.e.n.Node ] [elasticsearch-logging-0] stopped
[2018-02-04T13:44:04,486][INFO ][o.e.n.Node ] [elasticsearch-logging-0] closing ...
[2018-02-04T13:44:04,561][INFO ][o.e.n.Node ] [elasticsearch-logging-0] closed
[2018-02-04T13:44:04,564][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started

顺便说一句,我在Ubuntu机器16.04上使用cri-containerd在奴才上运行kubernetes集群v1.8.0,在主服务器上运行1.9.0。

任何帮助将不胜感激。

最佳答案

这种情况通常发生在您将Elasticsearch作为单个节点运行时

添加以下elasticsearch.yml以摆脱这一点

discovery.type to single-node  

并注释掉您的配置是否包含以下内容
#cluster.initial_master_nodes: ["node-1", "node-2"]

希望这会有所帮助。

关于elasticsearch - elasticsearch:elasticsearch过程的最大文件描述符[1024]太低,至少增加到[65536],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48745042/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com