ES启动报错 max number of threads [3836] for user [xxx] is too low, increase to at least [4096]

es启动出现下面错误:

[1]: max number of threads [3836] for user [xxx] is too low, increase to at least [4096]

解决方法

1. 修改20-nproc.conf

vim /etc/security/limits.d/20-nproc.conf

配置修改为4096

  * soft  nproc 4096

注:操作必须切换到root用户

2. 重启es,错误解决

版权声明:本文为JAVASCHOOL原创文章,未经本站允许不得转载。