Skip to content

Instantly share code, notes, and snippets.

@w3b1sh
w3b1sh / gist:2ca12bd920ebf20644ef
Last active August 29, 2015 14:03
nodeB> curl -XGET 'http://localhost:9200/_nodes/hot_threads'
::: [Milan][kpHP3VkBTCyjOkRaPSpS5Q][ip-10-111-149-41][inet[/10.111.149.41:9300]]
26.2% (131ms out of 500ms) cpu usage by thread 'elasticsearch[Milan][search][T#19]'
3/10 snapshots sharing following 7 elements
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:257)
org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:623)
org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:612)
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:270)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
@w3b1sh
w3b1sh / gist:778194c19ec3ed724f1e
Created July 9, 2014 07:27
curl localhost:9200/_cat/thread_pool
ip-1*-1**-1**-4* 1*.1**.1**.41 0 0 0 0 0 0 11 1 0
ip-1*-2**-5*-1** 1*.2**.5*.1** 0 0 0 0 0 0 15 3 0
@w3b1sh
w3b1sh / gist:ea6a2b3fbfc837d5d9d8
Last active August 29, 2015 14:03
nodeA> curl -XGET 'http://localhost:9200/_nodes/hot_threads'
::: [Milan][kpHP3VkBTCyjOkRaPSpS5Q][ip-1*-1**-1**-4*][inet[/1*.1**.1**.4*:9300]]
31.6% (157.7ms out of 500ms) cpu usage by thread 'elasticsearch[Milan][search][T#6]'
4/10 snapshots sharing following 5 elements
org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:612)
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:270)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:744)
6/10 snapshots sharing following 10 elements
@w3b1sh
w3b1sh / gist:a4759e5aa4efbe780fa7
Created July 9, 2014 07:20
curl -XGET 'http://localhost:9200/_nodes/stats'
{
"cluster_name":"ab_elastic",
"nodes":{
"kpHPVkBCyjOkRaSpS5Q":{
"timestamp":1404880773859,
"name":"Milan",
"transport_address":"removed",
"host":"removed",
"ip":[
"removed",
@w3b1sh
w3b1sh / gist:f7a727b1bae53772e56d
Created July 9, 2014 07:19
curl -XGET 'http://localhost:9200/'
{
"status" : 200,
"name" : "Eddie Brock",
"version" : {
"number" : "1.1.0",
"build_hash" : "2181e113dea80b4a9e31e58e9686658a2d46e363",
"build_timestamp" : "2014-03-25T15:59:51Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},