From 3944d1d6fdf62e49e5e0aaf1258eb2482a46ad4b Mon Sep 17 00:00:00 2001 From: Guillaume Thouvenin Date: Fri, 29 May 2015 11:25:02 +0200 Subject: [PATCH] Increase the queue_size of pending request to 1000 With a size of 50 we see a lot of messages like: EsRejectedExecutionException[rejected execution (queue capacity 50) So we increase this size of the bulk thread pool. Change-Id: I4511061dc4681838779a84e362ca2bb26a2f5f9e --- deployment_scripts/puppet/manifests/elasticsearch.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deployment_scripts/puppet/manifests/elasticsearch.pp b/deployment_scripts/puppet/manifests/elasticsearch.pp index 76eeeec..1995433 100644 --- a/deployment_scripts/puppet/manifests/elasticsearch.pp +++ b/deployment_scripts/puppet/manifests/elasticsearch.pp @@ -45,9 +45,10 @@ if $elasticsearch_kibana['node_name'] == hiera('user_node_name') { # Start an instance of elasticsearch elasticsearch::instance { $es_instance: config => { - 'bootstrap.mlockall' => true, - 'http.cors.allow-origin' => '/.*/', - 'http.cors.enabled' => true + 'threadpool.bulk.queue_size' => '1000', + 'bootstrap.mlockall' => true, + 'http.cors.allow-origin' => '/.*/', + 'http.cors.enabled' => true }, }