Very hot threads

When you are in trouble and your cluster works slower than usual and uses large amounts of CPU power, you know you need to do something to make it work again. This is the case when the Hot Threads API can give you necessary information to find the root of problems. A hot thread is a Java thread that uses high CPU volume and executes for longer period of time. Hot Threads API returns information about which part of ElasticSearch code are hot spots from the CPU side or where ElasticSearch is stuck for some reason.

When using Hot Threads API, you can examine all nodes, a selected few of them, or particular node using the /_nodes/hot_threads or /_nodes/{node or nodes}/hot_threads endpoints. For example, to look at hot threads on all ...

Get Mastering ElasticSearch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.