[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

简介: [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

# 问题

ERROR: [1] bootstrap checks failed

[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

# 解决

[root@hecs-356640 soft]# vi /etc/sysctl.conf

# 添加这个

vm.max_map_count = 65530

# 刷新

[root@hecs-356640 soft]# sysctl -p

vm.swappiness = 0

net.core.somaxconn = 1024

net.ipv4.tcp_max_tw_buckets = 5000

net.ipv4.tcp_max_syn_backlog = 1024

vm.max_map_count = 65530

# 测试

[root@hecs-356640 soft]# curl http://localhost:9200/

{

 "name" : "bYHFSI2",

 "cluster_name" : "elasticsearch",

 "cluster_uuid" : "fpUxUwJZQHKMeiDycjecLQ",

 "version" : {

   "number" : "6.8.0",

   "build_flavor" : "default",

   "build_type" : "tar",

   "build_hash" : "65b6179",

   "build_date" : "2019-05-15T20:06:13.172855Z",

   "build_snapshot" : false,

   "lucene_version" : "7.7.0",

   "minimum_wire_compatibility_version" : "5.6.0",

   "minimum_index_compatibility_version" : "5.0.0"

 },

 "tagline" : "You Know, for Search"

}

相关文章
|
1月前
Maximum call stack size exceeded报错的原因及解决办法
Maximum call stack size exceeded报错的原因及解决办法
415 0
|
5天前
Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
【4月更文挑战第12天】Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
18 3
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
151 0
|
人工智能
Tree with Maximum Cost---CF1092F 树上DP
You are given a tree consisting exactly of n vertices. Tree is a connected undirected graph with n−1 edges. Each vertex v of this tree has a value av assigned to it. Let dist(x,y) be the distance between the vertices x and y.
118 0
Tree with Maximum Cost---CF1092F 树上DP