日志中也一直有INFO类型的 gc
[2017-09-26T00:17:06,142][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][473019] overhead, spent [258ms] collecting in the last [1s]
[2017-09-26T00:31:17,994][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][473865] overhead, spent [266ms] collecting in the last [1s]
[2017-09-26T00:45:37,040][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][474717] overhead, spent [296ms] collecting in the last [1.1s]
[2017-09-26T00:51:53,781][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][475091] overhead, spent [313ms] collecting in the last [1s]
[2017-09-26T01:08:51,954][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][476102] overhead, spent [299ms] collecting in the last [1s]
[2017-09-26T01:11:49,491][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][476278] overhead, spent [327ms] collecting in the last [1.1s]
[2017-09-26T01:41:14,213][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][478030] overhead, spent [275ms] collecting in the last [1s]
[2017-09-26T01:56:22,021][INFO ][o.e.m.j.JvmGcMonitorService] [djXTDQr] [gc][478931] overhead, spent [304ms] collecting in the last [1.1s]
单节点机器下面是内存的整体情况:
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "elasticsearch",
"timestamp" : 1506485728903,
"status" : "yellow",
"indices" : {
"count" : 177,
"shards" : {
"total" : 881,
"primaries" : 881,
"replication" : 0.0,
"index" : {
"shards" : {
"min" : 1,
"max" : 5,
"avg" : 4.977401129943503
},
"primaries" : {
"min" : 1,
"max" : 5,
"avg" : 4.977401129943503
},
"replication" : {
"min" : 0.0,
"max" : 0.0,
"avg" : 0.0
}
}
},
"docs" : {
"count" : 4210720,
"deleted" : 19250
},
"store" : {
"size" : "1.5gb",
"size_in_bytes" : 1623932680,
"throttle_time" : "0s",
"throttle_time_in_millis" : 0
},
"fielddata" : {
"memory_size" : "16.4kb",
"memory_size_in_bytes" : 16840,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "1.8mb",
"memory_size_in_bytes" : 1948301,
"total_count" : 17271,
"hit_count" : 1393,
"miss_count" : 15878,
"cache_size" : 744,
"cache_count" : 744,
"evictions" : 0
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 3404,
"memory" : "39.5mb",
"memory_in_bytes" : 41473655,
"terms_memory" : "29.6mb",
"terms_memory_in_bytes" : 31056513,
"stored_fields_memory" : "1.5mb",
"stored_fields_memory_in_bytes" : 1581944,
"term_vectors_memory" : "0b",
"term_vectors_memory_in_bytes" : 0,
"norms_memory" : "2.8mb",
"norms_memory_in_bytes" : 2989888,
"points_memory" : "231.2kb",
"points_memory_in_bytes" : 236810,
"doc_values_memory" : "5.3mb",
"doc_values_memory_in_bytes" : 5608500,
"index_writer_memory" : "6.6mb",
"index_writer_memory_in_bytes" : 6998300,
"version_map_memory" : "508b",
"version_map_memory_in_bytes" : 508,
"fixed_bit_set" : "0b",
"fixed_bit_set_memory_in_bytes" : 0,
"max_unsafe_auto_id_timestamp" : 9223372036854775807,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 1,
"data" : 1,
"coordinating_only" : 0,
"master" : 1,
"ingest" : 1
},
"versions" : [
"5.5.0"
],
"os" : {
"available_processors" : 4,
"allocated_processors" : 4,
"names" : [
{
"name" : "Linux",
"count" : 1
}
],
"mem" : {
"total" : "15.6gb",
"total_in_bytes" : 16827543552,
"free" : "171.3mb",
"free_in_bytes" : 179703808,
"used" : "15.5gb",
"used_in_bytes" : 16647839744,
"free_percent" : 1,
"used_percent" : 99
}
},
"process" : {
"cpu" : {
"percent" : 25
},
"open_file_descriptors" : {
"min" : 2763,
"max" : 2763,
"avg" : 2763
}
},
"jvm" : {
"max_uptime" : "20.8h",
"max_uptime_in_millis" : 75226061,
"versions" : [
{
"version" : "1.8.0_101",
"vm_name" : "Java HotSpot(TM) 64-Bit Server VM",
"vm_version" : "25.101-b13",
"vm_vendor" : "Oracle Corporation",
"count" : 1
}
],
"mem" : {
"heap_used" : "2.2gb",
"heap_used_in_bytes" : 2433403864,
"heap_max" : "3.9gb",
"heap_max_in_bytes" : 4260102144
},
"threads" : 62
},
"fs" : {
"total" : "984.1gb",
"total_in_bytes" : 1056758824960,
"free" : "981.3gb",
"free_in_bytes" : 1053676642304,
"available" : "931.2gb",
"available_in_bytes" : 999972827136
},
"plugins" : [
{
"name" : "sql",
"version" : "5.5.0.0",
"description" : "Query elasticsearch using SQL",
"classname" : "org.elasticsearch.plugin.nlpcn.SqlPlug",
"has_native_controller" : false
}
],
"network_types" : {
"transport_types" : {
"netty4" : 1
},
"http_types" : {
"netty4" : 1
}
}
}
}
0 个回复