继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

ES安装max number of threads问题

2022-05-16 17:05:211076浏览

下雨le

2实战 · 6手记
TA的实战

问题:

ERROR: [1] bootstrap checks failed[1]: max number of threads [3795] for user [es] is too low

解决方法:

在 Linux 中,用户允许的最大线程数的配置文件为/etc/security/limits.conf,我们需要在该配置文件中添加下面配置

es(用户名) - nproc 4096


max file descriptors [1024] for elasticsearch process is too low, increase to at least [4029]


es(用户名) hard nofile 65536
es(用户名) soft nofile 65536


打开App,阅读手记
1人推荐
发表评论
随时随地看视频慕课网APP