0
点赞
收藏
分享

微信扫一扫

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]



继续报错

bootstrap checks failed max virtual memory areas vm.max_map_count [65530] is


vi /etc/sysctl.conf

vm.max_map_count=655360

sysctl -p



max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

vi /etc/security/limits.conf

*   soft    nofile   65536

*   hard   nofile  131072

*   soft     nproc   2048

*    hard   nproc   4096

[2020-03-08T20:38:50,610][INFO ][o.e.d.DiscoveryModule    ] [node-2] using discovery type [zen]
[2020-03-08T20:38:52,549][INFO ][o.e.n.Node ] [node-2] initialized
[2020-03-08T20:38:52,549][INFO ][o.e.n.Node ] [node-2] starting ...
[2020-03-08T20:38:52,943][INFO ][o.e.t.TransportService ] [node-2] publish_address {192.168.184.128:9300}, bound_addresses {192.168.184.128:9300}
[2020-03-08T20:38:53,016][INFO ][o.e.b.BootstrapChecks ] [node-2] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [3] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max number of threads [1024] for user [malin] is too low, increase to at least [4096]
[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2020-03-08T20:38:53,102][INFO ][o.e.n.Node ] [node-2] stopping ...
[2020-03-08T20:38:53,128][INFO ][o.e.n.Node ] [node-2] stopped
[2020-03-08T20:38:53,129][INFO ][o.e.n.Node ] [node-2] closing ...
[2020-03-08T20:38:53,151][INFO ][o.e.n.Node ] [node-2] closed
[2020-03-08T20:38:53,157][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started
[malin@CentOSA modules]$ jps
5741 Jps
You have new mail in /var/spool/mail/root
[malin@CentOSA modules]$ kib
bash: /opt/modules/kibana-6.4.3-linux-x86_64/bin/kibana: No such file or directory
[malin@CentOSA modules]$ ls
elasticsearch-6.4.3 hadoop-2.7.2 jdk1.8.0_144 zookeeper-3.4.5
[malin@CentOSA modules]$ cd elasticsearch-6.4.3/
[malin@CentOSA elasticsearch-6.4.3]$ ls
bin config data lib LICENSE.txt logs modules NOTICE.txt plugins README.textile
[malin@CentOSA elasticsearch-6.4.3]$ cd plugins/
[malin@CentOSA plugins]$ ls
ik
[malin@CentOSA plugins]$ cd ..
[malin@CentOSA elasticsearch-6.4.3]$ cd ..
[malin@CentOSA modules]$ ls
elasticsearch-6.4.3 hadoop-2.7.2 jdk1.8.0_144 zookeeper-3.4.5
[malin@CentOSA modules]$ vi /etc/sysctl.conf
[malin@CentOSA modules]$ su root
Password:
[root@CentOSA modules]# vi /etc/sysctl.conf
[root@CentOSA modules]# vi /etc/security/limits.conf
You have new mail in /var/spool/mail/root
[root@CentOSA modules]#






举报

相关推荐

0 条评论