ElasticSearch正在交换

时间:2016-04-13 15:51:22

标签: elasticsearch swap

我今天启动了我的新网站,并且遇到了ElasticSearch的SWAP问题。我不知道如何修复它,因为我已经为两个节点中的每个节点提供了堆内存,但不知何故,存在问题。

我正在附上总部的预览。有人能帮助我吗?

enter image description here enter image description here

---- config /etc/elasticsearch.yml ---

cluster.name: xxx
node.name: xxx
node.data: true
node.master: true

bootstrap.mlockall: true
index.translog.flush_threshold_ops: 50000

index.merge.policy.merge_factor: 5
index.merge.policy.segments_per_tier: 10

# Bulk pool
threadpool.bulk.type: fixed
threadpool.bulk.size: 1000
threadpool.bulk.queue_size: 30000

# Index pool
threadpool.index.type: fixed
threadpool.index.size: 1000
threadpool.index.queue_size: 10000

index.cache.query.enable: true
indices.cache.query.size: 15%

index.cache.field.expire: 1h
indices.fielddata.cache.size: 15%
indices.fielddata.cache.expire : 1h
indices.cache.filter.size: 15%
index.store.type: mmapfs
transport.tcp.compress: true;

network.bind_host: xxxx
network.publish_host: xxxx
network.host: xxxx
discovery.zen.ping.unicast.hosts: ["xxxx"]
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.timeout: 10s
transport.tcp.port: 9300
http.port: 9200
http.max_content_length: 500mb
index.routing.allocation.disable_allocation: false

index.search.slowlog.threshold.query.warn: 10s
index.search.slowlog.threshold.query.info: 5s
index.search.slowlog.threshold.query.debug: 2s
index.search.slowlog.threshold.query.trace: 500ms

script.engine.groovy.inline.aggs: on
script.inline: on
script.indexed: on
index.max_result_window: 40000

--- config / etc / default / elasticsearch -----

ES_HEAP_SIZE=5g

---- JAVA流程----- / usr / bin / java -Xms5g -Xmx5g -Djava.awt.headless = true -XX:+ UseParNewGC -XX:+ UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction = 75 -XX:+ UseCMSInitiatingOccupancyOnly -XX:+ HeapDumpOnOutOfMemoryError -XX:+ DisableExplicitGC - Dfile.encoding = UTF-8 -Djna.nosys = true -Des.path.home = / usr / share / elasticsearch -cp /usr/share/elasticsearch/lib/elasticsearch-2.3.1.jar:/usr/share/ elasticsearch / lib / * org.elasticsearch.bootstrap.Elasticsearch start -Des.pidfile = / var / run / elasticsearch / elasticsearch.pid -Des.default.path.home = / usr / share / elasticsearch -Des.default.path。 logs = / var / log / elasticsearch -Des.default.path.data = / var / lib / elasticsearch -Des.default.path.conf = / etc / elasticsearch

----节点信息---- { “CLUSTER_NAME”: “xxxxx_search”, “节点”:{ “Tze_hXZ2SwqQIvg4YWOcMg”:{ “时间戳”:1460563870399, “姓名”: “XXXXX-从属-1”, “TRANSPORT_ADDRESS”: “XXXX:9301”, “宿主” : “XXXXX”, “IP”:[ “XXXXX:9301”, “NONE”], “JVM”:{ “时间戳”:1460563870399 “uptime_in_millis”:17908517, “MEM”:{ “heap_used_in_bytes”:2679603328” heap_used_percent “:50,” heap_committed_in_bytes “:5333843968,” heap_max_in_bytes “:5333843968,” non_heap_used_in_bytes “:105721416,” non_heap_committed_in_bytes “:108711936,” 池 “:{” 年轻 “:{” used_in_bytes “:15540664,” max_in_bytes“:279183360 “peak_used_in_bytes”:279183360, “peak_max_in_bytes”:279183360}, “幸存者”:{ “used_in_bytes”:2730400 “max_in_bytes”:34865152, “peak_used_in_bytes”:34865152, “peak_max_in_bytes”:34865152}, “老”:{” used_in_bytes “:2661332264,” max_in_bytes “:5019795456,” peak_used_in_bytes “:3813217632,” peak_max_in_bytes “:5019795456}}},” 线程 “:{” 计数 “:56,” peak_count “:63},” GC “:{”收藏家 “:{” 年轻 “:{” collection_count “:1170,” collection_time_in_millis “:38743},” 老 “:{” collection_count “:4,” collection_ti me_in_millis “:220}}},” buffer_pools “:{” 直接 “:{” 计数 “:61,” used_in_bytes “:15744627,” total_capacity_in_bytes “:15744627},” 映射 “:{” 计数 “:85,” used_in_bytes “:4319218096,” total_capacity_in_bytes “:4319218096}}}},” DrG535FuQKygzKlSCAWwLw “:{” 时间戳 “:1460563870399,” 姓名 “:” XXXXX-主-1" , “TRANSPORT_ADDRESS”: “XXXXX:9300”, “宿主” : “XXXX”, “IP”:[ “XXXXX:9300”, “NONE”], “属性”:{ “主”: “真”}, “JVM”:{ “时间戳”:1460563870399 “uptime_in_millis”: 17912689, “MEM”:{ “heap_used_in_bytes”:2315059272, “heap_used_percent”:43, “heap_committed_in_bytes”:5333843968, “heap_max_in_bytes”:5333843968, “non_heap_used_in_bytes”:118353088 “non_heap_committed_in_bytes”:121683968, “池”:{“年轻“:{” used_in_bytes “:172840784” max_in_bytes “:279183360” peak_used_in_bytes “:279183360” peak_max_in_bytes “:279183360},” 幸存者 “:{” used_in_bytes “:2480072,” max_in_bytes “:34865152,” peak_used_in_bytes“:34865152 “peak_max_in_bytes”:34865152}, “旧”:{ “used_in_bytes”:2139738416, “max_in_bytes”:5019795456, “peak_used_in_bytes”:3826731840,“p eak_max_in_bytes “:5019795456}}},” 线程 “:{” 算 “:59,” peak_count “:71},” GC “:{” 收藏家 “:{” 年轻 “:{” collection_count “:1368,” collection_time_in_millis” :47571}, “旧”:{ “collection_count”:5 “collection_time_in_millis”:270}}}, “buffer_pools”:{ “直接”:{ “计数”:71, “used_in_bytes”:24539898, “total_capacity_in_bytes”: 24539898}, “映射”:{ “计数”:84, “used_in_bytes”:4318926707, “total_capacity_in_bytes”:4318926707}}, “类”:{ “current_loaded_count”:9552, “total_loaded_count”:9695, “total_unloaded_count”:143 }}}}}

----节点进程---

{ “CLUSTER_NAME”: “xxxx_search”, “节点”:{ “Tze_hXZ2SwqQIvg4YWOcMg”:{ “名称”: “XXXX-从属-1”, “TRANSPORT_ADDRESS”: “XXXX:9301”, “宿主”:“XXXX “ ”IP“: ”XXXX“, ”版本“: ”2.3.1“, ”建“: ”bd98092“, ”http_address“: ”XXXX:9201“, ”流程“:{ ”refresh_interval_in_millis“:1000” ID “:25686,” mlockall用于 “:假}},” DrG535FuQKygzKlSCAWwLw “:{” 名 “:” XXXX主-1" , “TRANSPORT_ADDRESS”: “XXXX:9300”, “主人”: “XXXX”,“IP “:” XXXX “ ”版本“: ”2.3.1“, ”建立“: ”bd98092“, ”http_address“: ”XXXX:9200“, ”属性“:{ ”主“: ”真“},” 处理“:{” refresh_interval_in_millis “:1000,” ID “:25587”,mlockall用于“:假}}}}

谢谢!

0 个答案:

没有答案