I have set up a 1 node cluster of ES using ES version 0.19.11 for storing
some logs. After inserting about 5000 logs I now see that my CPU usage is
rocketing above 100% constanltly even when no/very few search queries are
reaching it. ES has become very unresponsive and some of my search queries
randomly return the following exception.
"error" : "EsRejectedExecutionException[rejected execution of
[org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2]]",
"status" : 503
By randomly i mean sometimes they succeed but mostly they fail.
Here is my ES config:
index.cache.field.expire: 20m
index.cache.field.type: soft
bootstrap.mlockall: true
threadpool:
search:
type: fixed
size: 20
queue_size: 1000
index:
type: fixed
size: 16
bulk:
type: fixed
size: 5
I did some digging into the issue. The stats for node_stats, hot_threads
api and jstack can be found in this gist
I am also attaching the results of bigdesk. The cluster health is green but
looking at these results, it seems that ES is very low on heap memory. But
i am unable to understand the constant high CPU usage even in the idle
state. How can this issue be solved?
Kindly give some context and explanation to any answer.
Thanks
-atk
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.