Christian_Dahlqvist:
What is the full output of the cluster stats API ?
What is the use case?
What kind of load is the cluster under?
What type of hardware is powering the cluster?
cluster stats
{
"_nodes" : {
"total" : 27,
"successful" : 27,
"failed" : 0
},
"cluster_name" : "picapica_es",
"cluster_uuid" : "p60dCsvQRSmfyfC_n_kjGQ",
"timestamp" : 1690460363351,
"status" : "green",
"indices" : {
"count" : 1577,
"shards" : {
"total" : 21591,
"primaries" : 10798,
"replication" : 0.9995369512872754,
"index" : {
"shards" : {
"min" : 2,
"max" : 116,
"avg" : 13.691185795814839
},
"primaries" : {
"min" : 1,
"max" : 58,
"avg" : 6.847178186429931
},
"replication" : {
"min" : 0.0,
"max" : 1.0,
"avg" : 0.9993658845909955
}
}
},
"docs" : {
"count" : 423209498690,
"deleted" : 68259178
},
"store" : {
"size_in_bytes" : 351661022794170
},
"fielddata" : {
"memory_size_in_bytes" : 89659375352,
"evictions" : 0
},
"query_cache" : {
"memory_size_in_bytes" : 59041270725,
"total_count" : 4903505833,
"hit_count" : 1294945834,
"miss_count" : 3608559999,
"cache_size" : 1251722,
"cache_count" : 5688570,
"evictions" : 4436848
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 179880,
"memory_in_bytes" : 2638702566,
"terms_memory_in_bytes" : 1296360432,
"stored_fields_memory_in_bytes" : 998467056,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 6517440,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 337357638,
"index_writer_memory_in_bytes" : 6922539500,
"version_map_memory_in_bytes" : 161991433,
"fixed_bit_set_memory_in_bytes" : 6618439504,
"max_unsafe_auto_id_timestamp" : 1690446549560,
"file_sizes" : { }
},
"mappings" : {
"field_types" : [
{
"name" : "alias",
"count" : 93,
"index_count" : 24
},
{
"name" : "binary",
"count" : 13,
"index_count" : 4
},
{
"name" : "boolean",
"count" : 1736,
"index_count" : 505
},
{
"name" : "date",
"count" : 4511,
"index_count" : 1568
},
{
"name" : "double",
"count" : 63,
"index_count" : 42
},
{
"name" : "flattened",
"count" : 3,
"index_count" : 3
},
{
"name" : "float",
"count" : 3473,
"index_count" : 937
},
{
"name" : "geo_point",
"count" : 519,
"index_count" : 443
},
{
"name" : "geo_shape",
"count" : 3,
"index_count" : 3
},
{
"name" : "half_float",
"count" : 68,
"index_count" : 15
},
{
"name" : "integer",
"count" : 4917,
"index_count" : 1019
},
{
"name" : "keyword",
"count" : 31887,
"index_count" : 1575
},
{
"name" : "long",
"count" : 6469,
"index_count" : 871
},
{
"name" : "nested",
"count" : 368,
"index_count" : 336
},
{
"name" : "object",
"count" : 1717,
"index_count" : 151
},
{
"name" : "short",
"count" : 1603,
"index_count" : 503
},
{
"name" : "text",
"count" : 3498,
"index_count" : 695
}
]
},
"analysis" : {
"char_filter_types" : [ ],
"tokenizer_types" : [ ],
"filter_types" : [
{
"name" : "pattern_capture",
"count" : 1,
"index_count" : 1
}
],
"analyzer_types" : [
{
"name" : "custom",
"count" : 1,
"index_count" : 1
}
],
"built_in_char_filters" : [ ],
"built_in_tokenizers" : [
{
"name" : "uax_url_email",
"count" : 1,
"index_count" : 1
}
],
"built_in_filters" : [
{
"name" : "lowercase",
"count" : 1,
"index_count" : 1
},
{
"name" : "unique",
"count" : 1,
"index_count" : 1
}
],
"built_in_analyzers" : [
{
"name" : "english",
"count" : 1,
"index_count" : 1
}
]
}
},
"nodes" : {
"count" : {
"total" : 27,
"coordinating_only" : 0,
"data" : 24,
"ingest" : 27,
"master" : 3,
"ml" : 27,
"remote_cluster_client" : 27,
"transform" : 24,
"voting_only" : 0
},
"versions" : [
"7.8.0"
],
"os" : {
"available_processors" : 1728,
"allocated_processors" : 1728,
"names" : [
{
"name" : "Linux",
"count" : 27
}
],
"pretty_names" : [
{
"pretty_name" : "CentOS Linux 7 (Core)",
"count" : 27
}
],
"mem" : {
"total_in_bytes" : 7301586313216,
"free_in_bytes" : 117647179776,
"used_in_bytes" : 7183939133440,
"free_percent" : 2,
"used_percent" : 98
}
},
"process" : {
"cpu" : {
"percent" : 151
},
"open_file_descriptors" : {
"min" : 1680,
"max" : 6309,
"avg" : 5435
}
},
"jvm" : {
"max_uptime_in_millis" : 29823254267,
"versions" : [
{
"version" : "14.0.1",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "14.0.1+7",
"vm_vendor" : "AdoptOpenJDK",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 27
}
],
"mem" : {
"heap_used_in_bytes" : 626585311520,
"heap_max_in_bytes" : 898721906688
},
"threads" : 14424
},
"fs" : {
"total_in_bytes" : 863817462448128,
"free_in_bytes" : 687632075218944,
"available_in_bytes" : 687632075218944
},
"plugins" : [
{
"name" : "analysis-smartcn",
"version" : "7.8.0",
"elasticsearch_version" : "7.8.0",
"java_version" : "1.8",
"description" : "Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into elasticsearch.",
"classname" : "org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "repository-s3",
"version" : "7.8.0",
"elasticsearch_version" : "7.8.0",
"java_version" : "1.8",
"description" : "The S3 repository plugin adds S3 repositories",
"classname" : "org.elasticsearch.repositories.s3.S3RepositoryPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
}
],
"network_types" : {
"transport_types" : {
"security4" : 27
},
"http_types" : {
"security4" : 27
}
},
"discovery_types" : {
"zen" : 27
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "rpm",
"count" : 27
}
],
"ingest" : {
"number_of_pipelines" : 8,
"processor_stats" : {
"date" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"date_index_name" : {
"count" : 7985,
"failed" : 0,
"current" : 0,
"time_in_millis" : 61
},
"geoip" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"grok" : {
"count" : 7985,
"failed" : 0,
"current" : 0,
"time_in_millis" : 840
},
"gsub" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"json" : {
"count" : 7985,
"failed" : 0,
"current" : 0,
"time_in_millis" : 98
},
"remove" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"script" : {
"count" : 31940,
"failed" : 17,
"current" : 0,
"time_in_millis" : 986
}
}
}
}
}
Without any case, the memory usage has always been this high.
Write QPS as 12wļ¼node configured heap memory 32Gļ¼27 nodes in total