elasticsearch max virtual memory areas vm.max_map_count [65530] is too low, increase to at le
2018-01-18 17:39
1036 查看
具体错误信息如下:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
解决办法:
1、切换到root用户修改配置sysctl.conf
添加下面配置:
并执行命令:
然后,重新启动elasticsearch,即可启动成功。转载于:http://blog.csdn.net/jiankunking/article/details/65448030
jiankunking@ubuntu:~/software/elasticsearch$ ./bin/elasticsearch [2017-03-23T18:14:05,880][INFO ][o.e.n.Node ] [] initializing ... [2017-03-23T18:14:06,151][INFO ][o.e.e.NodeEnvironment ] [r5Eus3r] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [11.1gb], net total_space [17.5gb], spins? [possibly], types [ext4] [2017-03-23T18:14:06,152][INFO ][o.e.e.NodeEnvironment ] [r5Eus3r] heap size [1.9gb], compressed ordinary object pointers [true] [2017-03-23T18:14:06,154][INFO ][o.e.n.Node ] [r5Eus3r] node name [r5Eus3r] derived from node ID; set [node.name] to override [2017-03-23T18:14:06,171][INFO ][o.e.n.Node ] [r5Eus3r] version[5.0.1], pid[3669], build[080bb47/2016-11-11T22:08:49.812Z], OS[Linux/4.8.0-41-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_121/25.121-b13] [2017-03-23T18:14:08,104][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [aggs-matrix-stats] [2017-03-23T18:14:08,110][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [ingest-common] [2017-03-23T18:14:08,110][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [lang-expression] [2017-03-23T18:14:08,111][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [lang-groovy] [2017-03-23T18:14:08,111][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [lang-mustache] [2017-03-23T18:14:08,111][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [lang-painless] [2017-03-23T18:14:08,111][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [percolator] [2017-03-23T18:14:08,111][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [reindex] [2017-03-23T18:14:08,112][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [transport-netty3] [2017-03-23T18:14:08,112][INFO ][o.e.p.PluginsService ] [r5Eus3r] loaded module [transport-netty4] [2017-03-23T18:14:08,113][INFO ][o.e.p.PluginsService ] [r5Eus3r] no plugins loaded [2017-03-23T18:14:12,904][INFO ][o.e.n.Node ] [r5Eus3r] initialized [2017-03-23T18:14:12,905][INFO ][o.e.n.Node ] [r5Eus3r] starting ... [2017-03-23T18:14:13,161][INFO ][o.e.t.TransportService ] [r5Eus3r] publish_address {127.0.0.1:9300}, bound_addresses {[::]:9300} [2017-03-23T18:14:13,165][INFO ][o.e.b.BootstrapCheck ] [r5Eus3r] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks ERROR: bootstrap checks failed max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] [2017-03-23T18:14:13,199][INFO ][o.e.n.Node ] [r5Eus3r] stopping ... [2017-03-23T18:14:13,250][INFO ][o.e.n.Node ] [r5Eus3r] stopped [2017-03-23T18:14:13,250][INFO ][o.e.n.Node ] [r5Eus3r] closing ... [2017-03-23T18:14:13,274][INFO ][o.e.n.Node ] [r5Eus3r] closed1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
解决办法:
1、切换到root用户修改配置sysctl.conf
vi /etc/sysctl.conf1
添加下面配置:
vm.max_map_count=6553601
并执行命令:
sysctl -p1
然后,重新启动elasticsearch,即可启动成功。转载于:http://blog.csdn.net/jiankunking/article/details/65448030
相关文章推荐
- Ubuntu elasticsearch max virtual memory areas vm.max_map_count [65530] is too low, increase to at le
- 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]
- 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]
- max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
- Ubuntu中启动ElasticSearch报错:max virtual memory areas vm.max_map_count [65530] is too low, increase to a
- docker 安装 elasticsearch 报错max virtual memory areas vm.max_map_count [65530] is too low, increase to
- 记一次环境变量导致的elasticsearch启动错误:max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
- max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
- max virtual memory areas vm.max_map_count [65530]
- max number of threads [1024] for user [lish] likely too low, increase to at least [2048]
- ERROR: bootstrap checks failed max file descriptors [4096] for elasticsearch process likely too low,
- 【ORA】Specified value of MEMORY_TARGET is too small, needs to be at least 3072M解决办法
- org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: too_many_clauses: maxClauseCount
- [VMware]关于VMware出现Not enough physical memory is available to power on this virtual machine
- svn: E155021 this client is too old to work with the working copy at
- SVN版本问题:svn: E155021: This client is too old to work with the working copy at
- Linux下TomcatVM参数修改:Native memory allocation (mmap) failed to map 3221225472 bytes for committing reserved memory.
- Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Result window is too large,