| 123456789101112 | [[max-number-of-threads]]=== Number of threadsElasticsearch uses a number of thread pools for different types of operations.It is important that it is able to created new threads whenever needed.   Makesure that the number of threads that the Elasticsearch user can create is atleast 2048.This can be done by setting <<ulimit,`ulimit -u 2048`>> as root beforestarting Elasticsearch, or by setting `nproc` to `2048` in<<limits.conf,`/etc/security/limits.conf`>>.
 |