您的位置:首页 > 其它

elasticsearch:max number of threads [3818] for user [es] is too low, increase to at least [4096]

2019-04-15 16:08 1381 查看

elasticsearch版本:6.2.4
启动elasticsearch报错:

max number of threads [3818] for user [es] is too low, increase to at least [4096]

意思是elasticsearch最大线程数目太低

解决方案:

修改 /etc/security/limits.conf
在文件末尾增加以下两行:

es  soft nproc  4096
es  hard nproc  4096

注意:es是我自己的用户名,如果不填,可以用*代替。

再重新启动es即可。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐