手记

ES安装max number of threads问题

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

下雨le

2实战 · 6手记

问题:

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


1人推荐
随时随地看视频
慕课网APP