Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
GET /_stats?include_segment_file_sizes&level=shards
```
{
"_shards": {
"total": 155,
"successful": 78,
"failed": 0
},
"_all": {
@reedzhao
reedzhao / gist:b6cc5753a4059396bcc6d7e15bc4484c
Created May 4, 2018 14:42
hot_threads 2018-05-04T10:36:24
# Last GC
2018-05-04T10:36:24.364-0400: 4417.644: [GC (Allocation Failure) 2018-05-04T10:36:24.368-0400: 4417.648: [ParNew: 1602075K->40584K(1763584K), 0.5094672 secs] 2916725K->1355235K(8192704K), 0.5149063 secs] [Times: user=8.88 sys=0.91, real=0.52 secs]
# hot_threads
Fri May 4 10:34:27 EDT 2018
::: {EEvTfAV}{EEvTfAV0QN-RBB8dGd23EA}{qjjV7KZSRwqJqUFAmfWSsQ}{207.38.70.156}{207.38.70.156:9300}
Hot threads at 2018-05-04T14:34:27.256Z, interval=500ms, busiestThreads=10, ignoreIdleThreads=true:
8.6% (42.8ms out of 500ms) cpu usage by thread 'elasticsearch[EEvTfAV][management][T#1]'
10/10 snapshots sharing following 14 elements
This file has been truncated, but you can view the full file.
# Last GC
2018-05-04T10:36:24.364-0400: 4417.644: [GC (Allocation Failure) 2018-05-04T10:36:24.368-0400: 4417.648: [ParNew: 1602075K->40584K(1763584K), 0.5094672 secs] 2916725K->1355235K(8192704K), 0.5149063 secs] [Times: user=8.88 sys=0.91, real=0.52 secs]
# trace log
[2018-05-04T10:34:27,041][TRACE][o.e.t.TaskManager ] [EEvTfAV] register 50771 [transport] [indices:data/read/search] [indices[prd_community], types[community], search_type[QUERY_THEN_FETCH], source[{"query":{"match":{"all":{"query":"7 firw","operator":"OR","prefix_length":0,"max_expansions":50,"fuzzy_transpositions":true,"lenient":false,"zero_terms_query":"NONE","auto_generate_synonyms_phrase_query":true,"boost":1.0}}}}]]
[2018-05-04T10:34:27,044][TRACE][o.e.t.TaskManager ] [EEvTfAV] register 50772 [direct] [indices:data/read/search[phase/query]] [shardId[[prd_community][0]]]
[2018-05-04T10:34:27,048][TRACE][o.e.t.TaskManager ] [EEvTfAV] unregister task for id: 50772
[2018-05-04T10:34:27,050][TRACE][o.e.t.TaskManager