2016-04-03 10:09:24 -04:00
|
|
|
[[max-number-of-threads]]
|
|
|
|
=== Number of threads
|
|
|
|
|
|
|
|
Elasticsearch uses a number of thread pools for different types of operations.
|
2016-12-07 08:21:16 -05:00
|
|
|
It is important that it is able to create new threads whenever needed. Make
|
2016-04-03 10:09:24 -04:00
|
|
|
sure that the number of threads that the Elasticsearch user can create is at
|
|
|
|
least 2048.
|
|
|
|
|
|
|
|
This can be done by setting <<ulimit,`ulimit -u 2048`>> as root before
|
|
|
|
starting Elasticsearch, or by setting `nproc` to `2048` in
|
|
|
|
<<limits.conf,`/etc/security/limits.conf`>>.
|
|
|
|
|