es报错:Nativecontrollerprocesshasstopped-no

报错如下

为市北等地区用户提供了全套网页设计制作服务,及市北网站建设行业解决方案。主营业务为成都做网站、成都网站建设、市北网站设计,以传统方式定制建设网站,并提供域名空间备案等一条龙服务,秉承以专业、用心的态度为用户提供真诚的服务。我们深信只要达到每一位用户的要求,就会得到认可,从而选择与我们长期合作。这样,我们也可以走得更远!

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 [3780] for user [esyonghu] 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]
[2018-12-12T21:54:57,353][INFO ][o.e.n.Node               ] [PlbSkhz] stopping ...
[2018-12-12T21:54:57,413][INFO ][o.e.n.Node               ] [PlbSkhz] stopped
[2018-12-12T21:54:57,413][INFO ][o.e.n.Node               ] [PlbSkhz] closing ...
[2018-12-12T21:54:57,473][INFO ][o.e.n.Node               ] [PlbSkhz] closed
[2018-12-12T21:54:57,488][INFO ][o.e.x.m.j.p.NativeController] [PlbSkhz] Native controller process has stopped - no new native processes can be started

解决方法,增加如下内容

vi /etc/security/limits.conf
esyonghu soft nofile 65536
esyonghu hard nofile 65536
esyonghu soft nproc 4096
esyonghu hard nproc 4096


cd /etc/security/limits.d

vi 20-nproc.conf 

-# Default limit for number of user's processes to prevent
-# accidental fork bombs.
-# See rhbz #432903 for reasoning.

*          soft    nproc     4096
root       soft    nproc     unlimited

将*号改成用户名

esyonghu   soft    nproc     4096
root       soft    nproc     unlimited

增加如下内容

vi /etc/sysctl.conf 
vm.max_map_count = 655360
sysctl -p
vm.max_map_count = 655360

网站栏目:es报错:Nativecontrollerprocesshasstopped-no
转载注明:http://bzwzjz.com/article/pdjchj.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 成都网站建设公司 成都响应式网站建设 重庆网站建设 网站制作公司 成都网站建设 网站建设公司 阿坝网站设计 营销型网站建设 app网站建设 成都网站制作 成都网站制作 营销型网站建设 网站建设推广 手机网站制作 手机网站制作 商城网站建设 成都模版网站建设 企业网站建设公司 定制级高端网站建设 成都网站建设推广 成都做网站建设公司 高端定制网站设计