WARNING: Version 5.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Number of threads
editNumber of threads
editElasticsearch uses a number of thread pools for different types of operations. It is important that it is able to create new threads whenever needed. Make sure that the number of threads that the Elasticsearch user can create is at least 2048.
This can be done by setting ulimit -u 2048
as root before
starting Elasticsearch, or by setting nproc
to 2048
in
/etc/security/limits.conf
.