1. 最大线程数检查

原文链接 : https://www.elastic.co/guide/en/elasticsearch/reference/current/_maximum_number_of_threads_check.html

译文链接 : http://www.apache.wiki/pages/viewpage.action?pageId=9406711

贡献者 : 阿叩ApacheCNApache中文网

1.1. 最大线程数检查

Elasticsearch执行请求时将请求分解成多个阶段,在不同阶段使用不同的线程池执行。elasticsearch有执行不同任务的线程池执行器。因此Elasticsearch需要具备创建很多线程的能力。最大线程数检查是确保Elasticsearch进程有创建足够多线程来正常使用的权利。此检查只针对Linux系统。如果你是在Linux上运行,要通过此检查你必须让Elasticsearch进程至少有创建2048个线程的能力。可以通过/etc/security/limits.conf使用nproc来配置(注意:你可能还需要增加root用户的相关限制)。

Copyright © Kilvn 2021. all right reserved,powered by Gitbook最后更新时间: 2021-06-08 20:22:42

results matching ""

    No results matching ""