java1234开源博客系统
博客信息

Elasticsearch6.3 max number of threads [2048] for user [*] is too low, increase to at least [4096]异常

发布时间:『 2018-11-28 16:20』  博客类别:elasticsearch  阅读(6341) 评论(0)

Elasticsearch6.3 max number of threads [2048] for user [*] is too low, increase to at least [4096]异常


根据linux系统差异,有时候需要来点终极解决方案


新建: /etc/security/limits.d/test-limits.conf

cat>>test-limits.conf


然后加下内容:

* soft nofile 65536

* hard nofile 131072

* soft nproc 4096

* hard nproc 4096


ctrl+d保存即可;


然后重启服务器即可;


QQ鎴浘20181128161609.jpg


终于OK;


关键字:   Elasticsearch6.3  
关注Java1234微信公众号
博主信息
Java1234_小锋
(知识改变命运,技术改变世界)
Powered by Java1234 V3.0 Copyright © 2012-2016 Java知识分享网 版权所有