天天看點

Elasticsearch解決方案:ERROR: [1] bootstrap checks failed [1]: max number of threads [1024]

Elasticsearch解決方案:ERROR: [1] bootstrap checks failed [1]: max number of threads [1024]
Elasticsearch解決方案:ERROR: [1] bootstrap checks failed [1]: max number of threads [1024]

記憶體不夠

到 /etc/security/limits.d/90-nproc.conf檔案中修改最大線程數

*  soft nproc 1024
# 将上面的修改為:
*  soft nproc 4096
           

此外,還要保證linux的記憶體在1.5G以上

Elasticsearch解決方案:ERROR: [1] bootstrap checks failed [1]: max number of threads [1024]

繼續閱讀