Hi All,
I am using ES 2.4.1 Cluster hosted in Azure . I have 3 Nodes which are running in 3 VM's each has 4 cores with 14gb RAM and in that i had given 7021m to Elasticsearch HEAP. I am getting EsRejectedExecutionException in my elasticsearch logs . Node 0 logs are here . I can see same errors with different index names in all the other nodes too.
1)Why i am getting these erros and How can i resolve this ?
By search in google i am came to know that this will come if bulk requests increase the bulksize queue . And i also went through the documentation where they have specifed bulk 2) For bulk operations. Thread pool type is fixed with a size of # of available processors, queue_size of 200. The maximum size for this pool is 1 + # of available processors.
So for my ES cluster has queue size of (5 * 200 =1000 requests) for each node . But when i checked in my ES Cluster i can see ES is not using all the 4 cores of the VM it is using only 1 . Using azure template i had installed ES in the VM .
{
"cluster_name": "EScluster",
"nodes": {
"iTV34exDQVm8zJHBn5o77g": {
"name": "data-1",
"transport_address": "10.0.0.7:9300",
"host": "10.0.0.7",
"ip": "10.0.0.7",
"version": "2.4.1",
"build": "c67dc32",
"http_address": "10.0.0.7:9200",
"attributes": {
"max_local_storage_nodes": "1",
"master": "true"
},
"os": {
"refresh_interval_in_millis": 1000,
"name": "Linux",
"arch": "amd64",
"version": "3.19.0-65-generic",
"available_processors": 1,
"allocated_processors": 1
}
},
"u7_4qXHeTTGdfHVq9lsjiA": {
"name": "data-2",
"transport_address": "10.0.0.6:9300",
"host": "10.0.0.6",
"ip": "10.0.0.6",
"version": "2.4.1",
"build": "c67dc32",
"http_address": "10.0.0.6:9200",
"attributes": {
"max_local_storage_nodes": "1",
"master": "true"
},
"os": {
"refresh_interval_in_millis": 1000,
"name": "Linux",
"arch": "amd64",
"version": "3.19.0-65-generic",
"available_processors": 1,
"allocated_processors": 1
}
},
"vFfHEIg6T8OPl3U_L9vLdg": {
"name": "data-0",
"transport_address": "10.0.0.8:9300",
"host": "10.0.0.8",
"ip": "10.0.0.8",
"version": "2.4.1",
"build": "c67dc32",
"http_address": "10.0.0.8:9200",
"attributes": {
"max_local_storage_nodes": "1",
"master": "true"
},
"os": {
"refresh_interval_in_millis": 1000,
"name": "Linux",
"arch": "amd64",
"version": "3.19.0-65-generic",
"available_processors": 1,
"allocated_processors": 1
}
}
}
}
- But in my logs i can see some are having
pool size = 4
withqueue capacity = 50
others are havingpool size = 7
withqueue capacity = 1000
. I dont know why i am getting these pictures?
Please let me know if you want any further information.
Thanks