gpt4 book ai didi

elasticsearch - Elasticsearch没有获得足够的文件描述符

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

由于以下引导错误,Elasticsearch失败。
max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
我已经使用sysctlulimit命令将值设置为root,并使用cat /proc/sys/fs/file-max进行了验证。但是,elasticsearch过程不会获得超过4096个文件描述符。我什至尝试从我创建的根 session 开始一个新 session ,但是在那里没有运气。还有什么可能是问题?

最佳答案

对于.zip和.tar.gz软件包,在启动Elasticsearch之前将ulimit -n 65536设置为root,或者在nofile中将65536设置为/etc/security/limits.conf

请找到完整的引用here

关于elasticsearch - Elasticsearch没有获得足够的文件描述符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47324040/

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