While helping someone debug a logstash issue tonight, we noticed that for an
elasticsearch native java client had 1700 elasticsearch threads. After
further digging, I concluded that the high thread count for elasticsearch,
while abnormal, was not related to the problem I was debugging.
Emailing the list anyway to get some details about what is going on -
Here's a breakdown of elasticsearch threads according to jstack:
% grep '^"' logstash.jstack | fex '"1' | sed -re 's/[0-9]+/XXX/g' |sort|
uniq -c | sort -n | grep elastic
What are these 'cached' pool threads? Why would there be almost 1700 of
Are they pending queries? Something else?